#CF316A#CF316A
#CF316A is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.196 H 4.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CF316A |
|---|---|
| RGB | rgb(207, 49, 106) |
| HSL | hsl(338, 62%, 50%) |
| HSV | hsv(338, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 48.8%, 18.8%) |
| CIE-LAB | lab(47.63, 64.00, 5.80) |
| CIE-LCH | lch(47.63, 64.27, 5.18°) |
| OKLab | oklab(57.41% 0.1959 0.0154) |
| OKLCH | oklch(57.41% 0.196 4.5) |
| XYZ | xyz(29.4345, 16.5067, 15.2690) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.32
Dark Hot Pink
#D90166
ΔE00 2.71
Cerise
#DE0C62
ΔE00 3.27
Deep Rose
#C74767
ΔE00 3.94
Deep Pink
#CB0162
ΔE00 4.20
Cherry
#DE3163
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF316A #31CF96
analogous
#CF31B9 #CF316A #CF4731
triadic
#CF316A #6ACF31 #316ACF
tetradic
#CF316A #B9CF31 #31CF96 #4731CF
square
#CF316A #B9CF31 #31CF96 #4731CF
split-complementary
#CF316A #31CF47 #31B9CF
monochromatic
#6C1937 #9E2551 #CF316A #DB638E #E694B2
Accessibility & contrast
On white
4.88
#CF316A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#CF316A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF316A
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF316A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF316A | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585D6B
Deuteranopia (green-blind)
#827C66
Tritanopia (blue-blind)
#E1034A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf316a; /* rgb */ color: rgb(207, 49, 106); /* oklch */ color: oklch(57.4% 0.196 4.5);
Tailwind
colors: {
custom: {
50: '#e47894',
500: '#cf316a',
950: '#000000',
},
}SCSS
$custom: #cf316a; $custom-light: #e47894; $custom-dark: #000000;
JSON
{
"hex": "#cf316a",
"rgb": {
"r": 207,
"g": 49,
"b": 106
},
"hsl": {
"h": 338.354,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.57411,
"c": 0.19647,
"h": 4.5
},
"luminance": 0.16503
}Semantic roles & 50–950 ramp
primary
#CF316A
secondary
#8BD1B8
accent
#E5AB43
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E