#CF2F6B#CF2F6B
#CF2F6B is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.199 H 3.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2F6B |
|---|---|
| RGB | rgb(207, 47, 107) |
| HSL | hsl(338, 63%, 50%) |
| HSV | hsv(338, 77%, 81%) |
| CMYK | cmyk(0%, 77.3%, 48.3%, 18.8%) |
| CIE-LAB | lab(47.45, 64.68, 4.93) |
| CIE-LCH | lch(47.45, 64.87, 4.36°) |
| OKLab | oklab(57.28% 0.1981 0.0132) |
| OKLCH | oklch(57.28% 0.199 3.8) |
| XYZ | xyz(29.4050, 16.3640, 15.5172) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 2.57
Dark Pink
#CB416B
ΔE00 2.71
Cerise
#DE0C62
ΔE00 3.45
Deep Pink
#CB0162
ΔE00 3.93
Deep Rose
#C74767
ΔE00 4.37
Cherry
#DE3163
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2F6B #2FCF93
analogous
#CF2FBB #CF2F6B #CF432F
triadic
#CF2F6B #6BCF2F #2F6BCF
tetradic
#CF2F6B #BBCF2F #2FCF93 #432FCF
square
#CF2F6B #BBCF2F #2FCF93 #432FCF
split-complementary
#CF2F6B #2FCF43 #2FBBCF
monochromatic
#6B1837 #9D2451 #CF2F6B #DB608E #E692B2
Accessibility & contrast
On white
4.92
#CF2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#CF2F6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2F6B
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2F6B | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575D6C
Deuteranopia (green-blind)
#817C67
Tritanopia (blue-blind)
#E10049
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf2f6b; /* rgb */ color: rgb(207, 47, 107); /* oklch */ color: oklch(57.3% 0.199 3.8);
Tailwind
colors: {
custom: {
50: '#e47795',
500: '#cf2f6b',
950: '#000000',
},
}SCSS
$custom: #cf2f6b; $custom-light: #e47795; $custom-dark: #000000;
JSON
{
"hex": "#cf2f6b",
"rgb": {
"r": 207,
"g": 47,
"b": 107
},
"hsl": {
"h": 337.5,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.57284,
"c": 0.19857,
"h": 3.8
},
"luminance": 0.1636
}Semantic roles & 50–950 ramp
primary
#CF2F6B
secondary
#89D1B6
accent
#E6A842
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E