#CF427B#CF427B
#CF427B is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.183 H 359.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CF427B |
|---|---|
| RGB | rgb(207, 66, 123) |
| HSL | hsl(336, 59%, 54%) |
| HSV | hsv(336, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 40.6%, 18.8%) |
| CIE-LAB | lab(50.21, 59.73, -0.80) |
| CIE-LCH | lch(50.21, 59.74, 359.23°) |
| OKLab | oklab(59.47% 0.183 -0.0014) |
| OKLCH | oklch(59.47% 0.183 359.6) |
| XYZ | xyz(31.2576, 18.5957, 20.6783) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.79
Dark Pink
#CB416B
ΔE00 3.96
Deep Rose
#C74767
ΔE00 5.55
Dark Hot Pink
#D90166
ΔE00 6.03
Cerise
#DE0C62
ΔE00 6.65
Cherry
#DE3163
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF427B #42CF96
analogous
#CF42C1 #CF427B #CF4F42
triadic
#CF427B #7BCF42 #427BCF
tetradic
#CF427B #C1CF42 #42CF96 #4F42CF
square
#CF427B #C1CF42 #42CF96 #4F42CF
split-complementary
#CF427B #42CF4F #42C1CF
monochromatic
#781F43 #A92B5E #CF427B #DB739D #E8A4BF
Accessibility & contrast
On white
4.45
#CF427B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#CF427B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF427B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF427B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF427B | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E667D
Deuteranopia (green-blind)
#848178
Tritanopia (blue-blind)
#E03159
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf427b; /* rgb */ color: rgb(207, 66, 123); /* oklch */ color: oklch(59.5% 0.183 359.6);
Tailwind
colors: {
custom: {
50: '#e380a1',
500: '#cf427b',
950: '#000000',
},
}SCSS
$custom: #cf427b; $custom-light: #e380a1; $custom-dark: #000000;
JSON
{
"hex": "#cf427b",
"rgb": {
"r": 207,
"g": 66,
"b": 123
},
"hsl": {
"h": 335.745,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59469,
"c": 0.18297,
"h": 359.6
},
"luminance": 0.18592
}Semantic roles & 50–950 ramp
primary
#CF427B
secondary
#98D5BC
accent
#E3A345
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E