#CF2F7E#CF2F7E
#CF2F7E is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.205 H 355.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2F7E |
|---|---|
| RGB | rgb(207, 47, 126) |
| HSL | hsl(330, 63%, 50%) |
| HSV | hsv(330, 77%, 81%) |
| CMYK | cmyk(0%, 77.3%, 39.1%, 18.8%) |
| CIE-LAB | lab(48.02, 66.44, -5.86) |
| CIE-LCH | lch(48.02, 66.69, 354.96°) |
| OKLab | oklab(57.89% 0.2042 -0.0146) |
| OKLCH | oklch(57.89% 0.205 355.9) |
| XYZ | xyz(30.5167, 16.8087, 21.3720) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.87
Magenta (survey)
#C20078
ΔE00 5.65
Darkish Pink
#DA467D
ΔE00 5.87
Dark Hot Pink
#D90166
ΔE00 5.87
Deep Pink
#CB0162
ΔE00 6.29
Dark Pink
#CB416B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2F7E #2FCF80
analogous
#CF2FCE #CF2F7E #CF302F
triadic
#CF2F7E #7ECF2F #2F7ECF
tetradic
#CF2F7E #CECF2F #2FCF80 #302FCF
square
#CF2F7E #CECF2F #2FCF80 #302FCF
split-complementary
#CF2F7E #2FCF30 #2FCECF
monochromatic
#6B1841 #9D2460 #CF2F7E #DB609D #E692BC
Accessibility & contrast
On white
4.82
#CF2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#CF2F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2F7E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2F7E | 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)
#515F80
Deuteranopia (green-blind)
#7D7D7A
Tritanopia (blue-blind)
#E01753
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cf2f7e; /* rgb */ color: rgb(207, 47, 126); /* oklch */ color: oklch(57.9% 0.205 355.9);
Tailwind
colors: {
custom: {
50: '#e378a3',
500: '#cf2f7e',
950: '#000000',
},
}SCSS
$custom: #cf2f7e; $custom-light: #e378a3; $custom-dark: #000000;
JSON
{
"hex": "#cf2f7e",
"rgb": {
"r": 207,
"g": 47,
"b": 126
},
"hsl": {
"h": 330.375,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.57888,
"c": 0.20477,
"h": 355.9
},
"luminance": 0.16805
}Semantic roles & 50–950 ramp
primary
#CF2F7E
secondary
#89D1AD
accent
#E69542
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F