#CF4871#CF4871
#CF4871 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.173 H 5.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4871 |
|---|---|
| RGB | rgb(207, 72, 113) |
| HSL | hsl(342, 58%, 55%) |
| HSV | hsv(342, 65%, 81%) |
| CMYK | cmyk(0%, 65.2%, 45.4%, 18.8%) |
| CIE-LAB | lab(50.80, 56.36, 6.08) |
| CIE-LCH | lch(50.80, 56.69, 6.15°) |
| OKLab | oklab(59.81% 0.1719 0.0162) |
| OKLCH | oklch(59.81% 0.173 5.4) |
| XYZ | xyz(31.0325, 19.0962, 17.6713) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.93
Deep Rose
#C74767
ΔE00 2.68
Darkish Pink
#DA467D
ΔE00 3.17
Cherry
#DE3163
ΔE00 4.41
Cerise
#DE0C62
ΔE00 5.67
Blush
#DE5D83
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4871 #48CFA6
analogous
#CF48B5 #CF4871 #CF6348
triadic
#CF4871 #71CF48 #4871CF
tetradic
#CF4871 #B5CF48 #48CFA6 #6348CF
square
#CF4871 #B5CF48 #48CFA6 #6348CF
split-complementary
#CF4871 #48CF63 #48B5CF
monochromatic
#7C213C #AD2D54 #CF4871 #DC7897 #E8A9BC
Accessibility & contrast
On white
4.36
#CF4871 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CF4871 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4871
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4871 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 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)
#656872
Deuteranopia (green-blind)
#88836E
Tritanopia (blue-blind)
#E03558
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf4871; /* rgb */ color: rgb(207, 72, 113); /* oklch */ color: oklch(59.8% 0.173 5.4);
Tailwind
colors: {
custom: {
50: '#e38399',
500: '#cf4871',
950: '#000000',
},
}SCSS
$custom: #cf4871; $custom-light: #e38399; $custom-dark: #000000;
JSON
{
"hex": "#cf4871",
"rgb": {
"r": 207,
"g": 72,
"b": 113
},
"hsl": {
"h": 341.778,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.59814,
"c": 0.17269,
"h": 5.4
},
"luminance": 0.19092
}Semantic roles & 50–950 ramp
primary
#CF4871
secondary
#9DD6C5
accent
#E2B246
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E