#CF2F7D#CF2F7D
#CF2F7D is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.204 H 356.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2F7D |
|---|---|
| RGB | rgb(207, 47, 125) |
| HSL | hsl(331, 63%, 50%) |
| HSV | hsv(331, 77%, 81%) |
| CMYK | cmyk(0%, 77.3%, 39.6%, 18.8%) |
| CIE-LAB | lab(47.99, 66.34, -5.30) |
| CIE-LCH | lch(47.99, 66.55, 355.44°) |
| OKLab | oklab(57.85% 0.204 -0.0131) |
| OKLCH | oklch(57.85% 0.204 356.3) |
| XYZ | xyz(30.4525, 16.7830, 21.0339) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.02
Dark Hot Pink
#D90166
ΔE00 5.66
Magenta (survey)
#C20078
ΔE00 5.71
Darkish Pink
#DA467D
ΔE00 5.76
Deep Pink
#CB0162
ΔE00 6.11
Dark Pink
#CB416B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2F7D #2FCF81
analogous
#CF2FCD #CF2F7D #CF312F
triadic
#CF2F7D #7DCF2F #2F7DCF
tetradic
#CF2F7D #CDCF2F #2FCF81 #312FCF
square
#CF2F7D #CDCF2F #2FCF81 #312FCF
split-complementary
#CF2F7D #2FCF31 #2FCDCF
monochromatic
#6B1841 #9D245F #CF2F7D #DB609C #E692BB
Accessibility & contrast
On white
4.82
#CF2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#CF2F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2F7D
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2F7D | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#E01652
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cf2f7d; /* rgb */ color: rgb(207, 47, 125); /* oklch */ color: oklch(57.9% 0.204 356.3);
Tailwind
colors: {
custom: {
50: '#e378a2',
500: '#cf2f7d',
950: '#000000',
},
}SCSS
$custom: #cf2f7d; $custom-light: #e378a2; $custom-dark: #000000;
JSON
{
"hex": "#cf2f7d",
"rgb": {
"r": 207,
"g": 47,
"b": 125
},
"hsl": {
"h": 330.75,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.57854,
"c": 0.20438,
"h": 356.3
},
"luminance": 0.16779
}Semantic roles & 50–950 ramp
primary
#CF2F7D
secondary
#89D1AE
accent
#E69642
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E