#CF396B#CF396B
#CF396B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.1% C 0.189 H 5.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CF396B |
|---|---|
| RGB | rgb(207, 57, 107) |
| HSL | hsl(340, 61%, 52%) |
| HSV | hsv(340, 72%, 81%) |
| CMYK | cmyk(0%, 72.5%, 48.3%, 18.8%) |
| CIE-LAB | lab(48.58, 61.50, 6.55) |
| CIE-LCH | lch(48.58, 61.85, 6.08°) |
| OKLab | oklab(58.12% 0.1879 0.0173) |
| OKLCH | oklch(58.12% 0.189 5.3) |
| XYZ | xyz(29.8516, 17.2572, 15.6661) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.22
Deep Rose
#C74767
ΔE00 2.94
Cerise
#DE0C62
ΔE00 3.64
Dark Hot Pink
#D90166
ΔE00 3.70
Cherry
#DE3163
ΔE00 3.94
Darkish Pink
#DA467D
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF396B #39CF9D
analogous
#CF39B6 #CF396B #CF5239
triadic
#CF396B #6BCF39 #396BCF
tetradic
#CF396B #B6CF39 #39CF9D #5239CF
square
#CF396B #B6CF39 #39CF9D #5239CF
split-complementary
#CF396B #39CF52 #39B6CF
monochromatic
#721C38 #A32851 #CF396B #DB6A90 #E79CB5
Accessibility & contrast
On white
4.72
#CF396B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#CF396B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF396B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF396B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF396B | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C606C
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#E11B4E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cf396b; /* rgb */ color: rgb(207, 57, 107); /* oklch */ color: oklch(58.1% 0.189 5.3);
Tailwind
colors: {
custom: {
50: '#e47b95',
500: '#cf396b',
950: '#000000',
},
}SCSS
$custom: #cf396b; $custom-light: #e47b95; $custom-dark: #000000;
JSON
{
"hex": "#cf396b",
"rgb": {
"r": 207,
"g": 57,
"b": 107
},
"hsl": {
"h": 340,
"s": 60.976,
"l": 51.765
},
"oklch": {
"l": 0.5812,
"c": 0.18869,
"h": 5.3
},
"luminance": 0.17253
}Semantic roles & 50–950 ramp
primary
#CF396B
secondary
#91D3BD
accent
#E4AF44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E