#CF3166#CF3166
#CF3166 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.196 H 6.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3166 |
|---|---|
| RGB | rgb(207, 49, 102) |
| HSL | hsl(340, 62%, 50%) |
| HSV | hsv(340, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 50.7%, 18.8%) |
| CIE-LAB | lab(47.53, 63.67, 8.11) |
| CIE-LCH | lch(47.53, 64.19, 7.26°) |
| OKLab | oklab(57.3% 0.1944 0.0211) |
| OKLCH | oklch(57.3% 0.196 6.2) |
| XYZ | xyz(29.2313, 16.4254, 14.1990) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.21
Cerise
#DE0C62
ΔE00 2.79
Dark Hot Pink
#D90166
ΔE00 2.86
Deep Rose
#C74767
ΔE00 3.42
Cherry
#DE3163
ΔE00 3.87
Raspberry
#E30B5C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3166 #31CF9A
analogous
#CF31B5 #CF3166 #CF4B31
triadic
#CF3166 #66CF31 #3166CF
tetradic
#CF3166 #B5CF31 #31CF9A #4B31CF
square
#CF3166 #B5CF31 #31CF9A #4B31CF
split-complementary
#CF3166 #31CF4B #31B5CF
monochromatic
#6C1935 #9E254D #CF3166 #DB638B #E694B0
Accessibility & contrast
On white
4.90
#CF3166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#CF3166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3166
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3166 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595D67
Deuteranopia (green-blind)
#837C62
Tritanopia (blue-blind)
#E20048
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf3166; /* rgb */ color: rgb(207, 49, 102); /* oklch */ color: oklch(57.3% 0.196 6.2);
Tailwind
colors: {
custom: {
50: '#e47891',
500: '#cf3166',
950: '#000000',
},
}SCSS
$custom: #cf3166; $custom-light: #e47891; $custom-dark: #000000;
JSON
{
"hex": "#cf3166",
"rgb": {
"r": 207,
"g": 49,
"b": 102
},
"hsl": {
"h": 339.873,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.573,
"c": 0.19557,
"h": 6.2
},
"luminance": 0.16421
}Semantic roles & 50–950 ramp
primary
#CF3166
secondary
#8BD1BA
accent
#E5AF43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D