#CF386A#CF386A
#CF386A is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 5.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CF386A |
|---|---|
| RGB | rgb(207, 56, 106) |
| HSL | hsl(340, 61%, 52%) |
| HSV | hsv(340, 73%, 81%) |
| CMYK | cmyk(0%, 72.9%, 48.8%, 18.8%) |
| CIE-LAB | lab(48.43, 61.75, 6.95) |
| CIE-LCH | lch(48.43, 62.14, 6.42°) |
| OKLab | oklab(58% 0.1886 0.0183) |
| OKLCH | oklch(58% 0.19 5.5) |
| XYZ | xyz(29.7503, 17.1384, 15.3743) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.30
Deep Rose
#C74767
ΔE00 2.92
Cerise
#DE0C62
ΔE00 3.47
Dark Hot Pink
#D90166
ΔE00 3.58
Cherry
#DE3163
ΔE00 3.84
Raspberry
#E30B5C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF386A #38CF9D
analogous
#CF38B6 #CF386A #CF5138
triadic
#CF386A #6ACF38 #386ACF
tetradic
#CF386A #B6CF38 #38CF9D #5138CF
square
#CF386A #B6CF38 #38CF9D #5138CF
split-complementary
#CF386A #38CF51 #38B6CF
monochromatic
#711B38 #A32750 #CF386A #DB698F #E79BB4
Accessibility & contrast
On white
4.74
#CF386A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#CF386A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF386A
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF386A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF386A | 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)
#5C606B
Deuteranopia (green-blind)
#847E66
Tritanopia (blue-blind)
#E1184D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cf386a; /* rgb */ color: rgb(207, 56, 106); /* oklch */ color: oklch(58.0% 0.190 5.5);
Tailwind
colors: {
custom: {
50: '#e47b94',
500: '#cf386a',
950: '#000000',
},
}SCSS
$custom: #cf386a; $custom-light: #e47b94; $custom-dark: #000000;
JSON
{
"hex": "#cf386a",
"rgb": {
"r": 207,
"g": 56,
"b": 106
},
"hsl": {
"h": 340.132,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.58002,
"c": 0.18951,
"h": 5.5
},
"luminance": 0.17134
}Semantic roles & 50–950 ramp
primary
#CF386A
secondary
#90D3BD
accent
#E4AF44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E