Skip to content

#cb104f

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
203, 16, 79
HSL
340°, 85%, 43%
CMYK
0, 92, 61, 20
Luminance
0.1363

At a glance

Every number on this page in one read: what #cb104f is made of, how bright it looks, and which way it leans.

Hex
#cb104f
Hue
340°
magenta / pink
Saturation
85%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1363
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.64:1
Closest name
Crimson
ΔE2000 8
Where it sits
Hue340° of 360°
Saturation85%
Lightness43%
Temperature
Warm ← → Cool28% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cb104f
RGBrgb(203, 16, 79)
HSLhsl(340, 85%, 43%)
CMYKcmyk(0%, 92%, 61%, 20%)
LABlab(43.7 68.2 17.0)
LCHlch(43.7 70.3 14.0)
OKLCHoklch(0.542 0.210 11.4)
Decimal13307983
Display P3color(display-p3 0.796 0.063 0.310)

Copy-ready code

/* CSS */
color: #cb104f;
background-color: #cb104f;
/* Tailwind (arbitrary) */
class="text-[#cb104f] bg-[#cb104f]"
/* SCSS */
$brand: #cb104f;
/* SwiftUI */
Color(red: 0.796, green: 0.063, blue: 0.310)
/* Android */
Color.parseColor("#cb104f")
/* Flutter */
Color(0xFFCB104F)
/* Python / OpenCV (BGR) */
(79, 16, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #cb104f · 5.64:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.64:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.73:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cb104f as text scores 5.64:1 on white and 3.73:1 on black.

Accessibility — WCAG contrast

Aa
#cb104f on white: 5.64:1
AA ✓ pass · AA-large · AAA
Aa
#cb104f on black: 3.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #505050
deuteranopia · #7D744A
tritanopia · #DF0031

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb104f is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2F6
#FAE5EC
#F7C5D6
#F797B7
#F36393
#EF2F6F
#E31258
#cb104f
#970C3B
#6D0D2D
#44081C
Base = 700Lightest = 50 · #FDF2F6Darkest = 950 · #44081C
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5EC;
  --brand-200: #F7C5D6;
  --brand-300: #F797B7;
  --brand-400: #F36393;
  --brand-500: #EF2F6F;
  --brand-600: #E31258;
  --brand-700: #cb104f;
  --brand-800: #970C3B;
  --brand-900: #6D0D2D;
  --brand-950: #44081C;
  --brand: #cb104f;
  --brand-ink: #ffffff;
}

Colors that work with #cb104f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F6
Tinted page background
Border#EDC0CF
Hairlines and dividers
Muted text#9B4B66
Captions on the surface
Accent#0BC156
Second voice, not a rival
Dark variant#76092E
Hover, pressed, headers
Light variant#FDE7EF
Selected rows, tints
Dark surface#241419
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cb104f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#10CB8C
Analogous left#CB10AC
Analogous right#CB2E10
Split-complement 1#10CB2E
Split-complement 2#10ACCB
Triadic 1#4FCB10
Triadic 2#104FCB
Tetradic#ACCB10

RGB percentages

Red79.6%
Green6.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta92.1%
Yellow61.1%
Key (black)20.4%

Color previews

#cb104f text on a black background

contrast 3.73:1

Card sample

#cb104f text on a white background

contrast 5.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cb104f;
Background color
Panel with #cb104f background
background-color: #cb104f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cb104f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 16, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 16, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb104f;
background: linear-gradient(135deg, #cb104f, #CB4E10);

Monochromatic scale

Palettes built from #cb104f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cb104f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cb104f, answered

What color is #cb104f?

#cb104f is a dark electric magenta / pink, closest to Crimson (ΔE2000 8). It sits at 340° on the hue wheel with 85% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cb104f?

rgb(203, 16, 79) — 203 red, 16 green and 79 blue out of 255, or 79.6% / 6.3% / 31% by channel.

Is #cb104f a light or a dark color?

It is a dark color. Relative luminance is 0.1363 and perceived brightness is 45%, so white text on it reaches 5.64:1.

Should I use black or white text on #cb104f?

White. It scores 5.64:1 against #cb104f, versus 3.73:1 for black — AA at any size.

What is the complementary color of #cb104f?

#10CB8C sits directly opposite on the wheel. Softer options are the split-complements #10CB2E and #10ACCB, which give the same contrast with far less vibration.

What colors go well with #cb104f?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #0BC156 as an accent and #76092E for hover and pressed states. For a palette, the analogous pair #CB10AC and #CB2E10 stays calm, while #10CB8C is the loudest partner.

What is #cb104f in CMYK for printing?

cmyk(0%, 92%, 61%, 20%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cb104f warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB1610; nudged cooler, #CD0E94.

Work with #cb104f in the Color Lab