#CF428E#CF428E
#CF428E is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.191 H 351.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF428E |
|---|---|
| RGB | rgb(207, 66, 142) |
| HSL | hsl(328, 59%, 54%) |
| HSV | hsv(328, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 31.4%, 18.8%) |
| CIE-LAB | lab(50.83, 61.83, -11.30) |
| CIE-LCH | lch(50.83, 62.85, 349.64°) |
| OKLab | oklab(60.12% 0.1887 -0.0293) |
| OKLCH | oklch(60.12% 0.191 351.2) |
| XYZ | xyz(32.5645, 19.1184, 27.5612) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.02
Mediumvioletred
#C71585
ΔE00 6.49
Neon Pink
#FE019A
ΔE00 7.36
Purplish Pink
#CE5DAE
ΔE00 7.51
Shocking Pink
#FE02A2
ΔE00 7.55
Electric Pink
#FF0490
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF428E #42CF83
analogous
#CA42CF #CF428E #CF4247
triadic
#CF428E #8ECF42 #428ECF
tetradic
#CF428E #CFCA42 #42CF83 #4247CF
square
#CF428E #CFCA42 #42CF83 #4247CF
split-complementary
#CF428E #47CF42 #42CFCA
monochromatic
#781F4F #A92B6F #CF428E #DB73AB #E8A4C8
Accessibility & contrast
On white
4.35
#CF428E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CF428E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF428E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF428E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF428E | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#80828B
Tritanopia (blue-blind)
#DE3A62
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf428e; /* rgb */ color: rgb(207, 66, 142); /* oklch */ color: oklch(60.1% 0.191 351.2);
Tailwind
colors: {
custom: {
50: '#e280af',
500: '#cf428e',
950: '#000000',
},
}SCSS
$custom: #cf428e; $custom-light: #e280af; $custom-dark: #000000;
JSON
{
"hex": "#cf428e",
"rgb": {
"r": 207,
"g": 66,
"b": 142
},
"hsl": {
"h": 327.66,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.60124,
"c": 0.19091,
"h": 351.2
},
"luminance": 0.19115
}Semantic roles & 50–950 ramp
primary
#CF428E
secondary
#98D5B4
accent
#E38E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F