#CF417B#CF417B
#CF417B is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.184 H 359.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CF417B |
|---|---|
| RGB | rgb(207, 65, 123) |
| HSL | hsl(335, 60%, 53%) |
| HSV | hsv(335, 69%, 81%) |
| CMYK | cmyk(0%, 68.6%, 40.6%, 18.8%) |
| CIE-LAB | lab(50.07, 60.11, -1.01) |
| CIE-LCH | lch(50.07, 60.12, 359.04°) |
| OKLab | oklab(59.37% 0.1842 -0.0019) |
| OKLCH | oklch(59.37% 0.184 359.4) |
| XYZ | xyz(31.1997, 18.4799, 20.6590) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.94
Dark Pink
#CB416B
ΔE00 4.02
Deep Rose
#C74767
ΔE00 5.64
Dark Hot Pink
#D90166
ΔE00 5.94
Cerise
#DE0C62
ΔE00 6.62
Cherry
#DE3163
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF417B #41CF95
analogous
#CF41C2 #CF417B #CF4E41
triadic
#CF417B #7BCF41 #417BCF
tetradic
#CF417B #C2CF41 #41CF95 #4E41CF
square
#CF417B #C2CF41 #41CF95 #4E41CF
split-complementary
#CF417B #41CF4E #41C2CF
monochromatic
#771E43 #A82B5E #CF417B #DB729D #E8A3BF
Accessibility & contrast
On white
4.47
#CF417B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#CF417B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF417B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF417B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF417B | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#848178
Tritanopia (blue-blind)
#E03059
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf417b; /* rgb */ color: rgb(207, 65, 123); /* oklch */ color: oklch(59.4% 0.184 359.4);
Tailwind
colors: {
custom: {
50: '#e37fa1',
500: '#cf417b',
950: '#000000',
},
}SCSS
$custom: #cf417b; $custom-light: #e37fa1; $custom-dark: #000000;
JSON
{
"hex": "#cf417b",
"rgb": {
"r": 207,
"g": 65,
"b": 123
},
"hsl": {
"h": 335.493,
"s": 59.664,
"l": 53.333
},
"oklch": {
"l": 0.59368,
"c": 0.18417,
"h": 359.4
},
"luminance": 0.18476
}Semantic roles & 50–950 ramp
primary
#CF417B
secondary
#97D4BB
accent
#E3A245
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E