#CF386B#CF386B
#CF386B is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.0% C 0.190 H 5.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CF386B |
|---|---|
| RGB | rgb(207, 56, 107) |
| HSL | hsl(340, 61%, 52%) |
| HSV | hsv(340, 73%, 81%) |
| CMYK | cmyk(0%, 72.9%, 48.3%, 18.8%) |
| CIE-LAB | lab(48.46, 61.84, 6.37) |
| CIE-LCH | lch(48.46, 62.17, 5.88°) |
| OKLab | oklab(58.03% 0.189 0.0169) |
| OKLCH | oklch(58.03% 0.19 5.1) |
| XYZ | xyz(29.8026, 17.1593, 15.6498) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.37
Deep Rose
#C74767
ΔE00 3.09
Dark Hot Pink
#D90166
ΔE00 3.56
Cerise
#DE0C62
ΔE00 3.58
Cherry
#DE3163
ΔE00 4.04
Darkish Pink
#DA467D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF386B #38CF9C
analogous
#CF38B7 #CF386B #CF5138
triadic
#CF386B #6BCF38 #386BCF
tetradic
#CF386B #B7CF38 #38CF9C #5138CF
square
#CF386B #B7CF38 #38CF9C #5138CF
split-complementary
#CF386B #38CF51 #38B7CF
monochromatic
#711B38 #A32751 #CF386B #DB6990 #E79BB4
Accessibility & contrast
On white
4.74
#CF386B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#CF386B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF386B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF386B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF386B | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C606C
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#E1194D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cf386b; /* rgb */ color: rgb(207, 56, 107); /* oklch */ color: oklch(58.0% 0.190 5.1);
Tailwind
colors: {
custom: {
50: '#e47b95',
500: '#cf386b',
950: '#000000',
},
}SCSS
$custom: #cf386b; $custom-light: #e47b95; $custom-dark: #000000;
JSON
{
"hex": "#cf386b",
"rgb": {
"r": 207,
"g": 56,
"b": 107
},
"hsl": {
"h": 339.735,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.5803,
"c": 0.18974,
"h": 5.1
},
"luminance": 0.17155
}Semantic roles & 50–950 ramp
primary
#CF386B
secondary
#90D3BC
accent
#E4AE44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E