#CB417F#CB417F
#CB417F is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.182 H 356.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CB417F |
|---|---|
| RGB | rgb(203, 65, 127) |
| HSL | hsl(333, 57%, 53%) |
| HSV | hsv(333, 68%, 80%) |
| CMYK | cmyk(0%, 68%, 37.4%, 20.4%) |
| CIE-LAB | lab(49.51, 59.38, -4.32) |
| CIE-LCH | lch(49.51, 59.54, 355.83°) |
| OKLab | oklab(58.87% 0.1818 -0.0106) |
| OKLCH | oklch(58.87% 0.182 356.7) |
| XYZ | xyz(30.3516, 18.0130, 21.9531) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.27
Dark Pink
#CB416B
ΔE00 5.34
Dark Hot Pink
#D90166
ΔE00 6.75
Mediumvioletred
#C71585
ΔE00 6.82
Deep Rose
#C74767
ΔE00 6.92
Deep Pink
#CB0162
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB417F #41CB8D
analogous
#CB41C4 #CB417F #CB4841
triadic
#CB417F #7FCB41 #417FCB
tetradic
#CB417F #C4CB41 #41CB8D #4841CB
square
#CB417F #C4CB41 #41CB8D #4841CB
split-complementary
#CB417F #41CB48 #41C4CB
monochromatic
#721F45 #A22C61 #CB417F #D8719F #E5A1C0
Accessibility & contrast
On white
4.56
#CB417F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#CB417F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB417F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB417F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB417F | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6581
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#DB335B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cb417f; /* rgb */ color: rgb(203, 65, 127); /* oklch */ color: oklch(58.9% 0.182 356.7);
Tailwind
colors: {
custom: {
50: '#df7fa4',
500: '#cb417f',
950: '#000000',
},
}SCSS
$custom: #cb417f; $custom-light: #df7fa4; $custom-dark: #000000;
JSON
{
"hex": "#cb417f",
"rgb": {
"r": 203,
"g": 65,
"b": 127
},
"hsl": {
"h": 333.043,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.58865,
"c": 0.18215,
"h": 356.7
},
"luminance": 0.18009
}Semantic roles & 50–950 ramp
primary
#CB417F
secondary
#96D2B7
accent
#E09C48
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F