#CF2F88#CF2F88
#CF2F88 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.209 H 351.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2F88 |
|---|---|
| RGB | rgb(207, 47, 136) |
| HSL | hsl(327, 63%, 50%) |
| HSV | hsv(327, 77%, 81%) |
| CMYK | cmyk(0%, 77.3%, 34.3%, 18.8%) |
| CIE-LAB | lab(48.36, 67.48, -11.41) |
| CIE-LCH | lch(48.36, 68.43, 350.40°) |
| OKLab | oklab(58.25% 0.207 -0.0295) |
| OKLCH | oklch(58.25% 0.209 351.9) |
| XYZ | xyz(31.1945, 17.0798, 24.9418) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.82
Magenta (survey)
#C20078
ΔE00 5.66
Darkish Pink
#DA467D
ΔE00 7.19
Dark Hot Pink
#D90166
ΔE00 7.97
Deep Pink
#CB0162
ΔE00 8.20
Neon Pink
#FE019A
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2F88 #2FCF76
analogous
#C62FCF #CF2F88 #CF2F38
triadic
#CF2F88 #88CF2F #2F88CF
tetradic
#CF2F88 #CFC62F #2FCF76 #2F38CF
square
#CF2F88 #CFC62F #2FCF76 #2F38CF
split-complementary
#CF2F88 #38CF2F #2FCFC6
monochromatic
#6B1846 #9D2467 #CF2F88 #DB60A5 #E692C1
Accessibility & contrast
On white
4.76
#CF2F88 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#CF2F88 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2F88
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2F88 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D608A
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#DF1F58
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cf2f88; /* rgb */ color: rgb(207, 47, 136); /* oklch */ color: oklch(58.3% 0.209 351.9);
Tailwind
colors: {
custom: {
50: '#e378aa',
500: '#cf2f88',
950: '#000000',
},
}SCSS
$custom: #cf2f88; $custom-light: #e378aa; $custom-dark: #000000;
JSON
{
"hex": "#cf2f88",
"rgb": {
"r": 207,
"g": 47,
"b": 136
},
"hsl": {
"h": 326.625,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.5825,
"c": 0.20907,
"h": 351.9
},
"luminance": 0.17076
}Semantic roles & 50–950 ramp
primary
#CF2F88
secondary
#89D1A9
accent
#E68B42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F