#CF427E#CF427E
#CF427E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.184 H 358.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CF427E |
|---|---|
| RGB | rgb(207, 66, 126) |
| HSL | hsl(334, 59%, 54%) |
| HSV | hsv(334, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 39.1%, 18.8%) |
| CIE-LAB | lab(50.30, 60.04, -2.48) |
| CIE-LCH | lch(50.30, 60.09, 357.64°) |
| OKLab | oklab(59.57% 0.1839 -0.0057) |
| OKLCH | oklch(59.57% 0.184 358.2) |
| XYZ | xyz(31.4483, 18.6720, 21.6826) |
| Luminance | 0.1867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.11
Dark Pink
#CB416B
ΔE00 4.71
Deep Rose
#C74767
ΔE00 6.29
Dark Hot Pink
#D90166
ΔE00 6.48
Cerise
#DE0C62
ΔE00 7.24
Cherry
#DE3163
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF427E #42CF93
analogous
#CF42C5 #CF427E #CF4C42
triadic
#CF427E #7ECF42 #427ECF
tetradic
#CF427E #C5CF42 #42CF93 #4C42CF
square
#CF427E #C5CF42 #42CF93 #4C42CF
split-complementary
#CF427E #42CF4C #42C5CF
monochromatic
#781F45 #A92B61 #CF427E #DB739F #E8A4C1
Accessibility & contrast
On white
4.44
#CF427E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CF427E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF427E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF427E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF427E | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#E0335B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf427e; /* rgb */ color: rgb(207, 66, 126); /* oklch */ color: oklch(59.6% 0.184 358.2);
Tailwind
colors: {
custom: {
50: '#e380a3',
500: '#cf427e',
950: '#000000',
},
}SCSS
$custom: #cf427e; $custom-light: #e380a3; $custom-dark: #000000;
JSON
{
"hex": "#cf427e",
"rgb": {
"r": 207,
"g": 66,
"b": 126
},
"hsl": {
"h": 334.468,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59566,
"c": 0.18402,
"h": 358.2
},
"luminance": 0.18668
}Semantic roles & 50–950 ramp
primary
#CF427E
secondary
#98D5BB
accent
#E3A045
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F