#CF316E#CF316E
#CF316E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.5% C 0.198 H 2.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CF316E |
|---|---|
| RGB | rgb(207, 49, 110) |
| HSL | hsl(337, 62%, 50%) |
| HSV | hsv(337, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 46.9%, 18.8%) |
| CIE-LAB | lab(47.74, 64.35, 3.51) |
| CIE-LCH | lch(47.74, 64.44, 3.12°) |
| OKLab | oklab(57.53% 0.1973 0.0097) |
| OKLCH | oklch(57.53% 0.198 2.8) |
| XYZ | xyz(29.6474, 16.5918, 16.3902) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.85
Dark Hot Pink
#D90166
ΔE00 2.97
Cerise
#DE0C62
ΔE00 3.97
Deep Pink
#CB0162
ΔE00 4.26
Deep Rose
#C74767
ΔE00 4.62
Darkish Pink
#DA467D
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF316E #31CF92
analogous
#CF31BD #CF316E #CF4331
triadic
#CF316E #6ECF31 #316ECF
tetradic
#CF316E #BDCF31 #31CF92 #4331CF
square
#CF316E #BDCF31 #31CF92 #4331CF
split-complementary
#CF316E #31CF43 #31BDCF
monochromatic
#6C1939 #9E2554 #CF316E #DB6391 #E694B4
Accessibility & contrast
On white
4.86
#CF316E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#CF316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF316E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF316E | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575E6F
Deuteranopia (green-blind)
#817C6A
Tritanopia (blue-blind)
#E1094C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf316e; /* rgb */ color: rgb(207, 49, 110); /* oklch */ color: oklch(57.5% 0.198 2.8);
Tailwind
colors: {
custom: {
50: '#e47897',
500: '#cf316e',
950: '#000000',
},
}SCSS
$custom: #cf316e; $custom-light: #e47897; $custom-dark: #000000;
JSON
{
"hex": "#cf316e",
"rgb": {
"r": 207,
"g": 49,
"b": 110
},
"hsl": {
"h": 336.835,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.57527,
"c": 0.1975,
"h": 2.8
},
"luminance": 0.16588
}Semantic roles & 50–950 ramp
primary
#CF316E
secondary
#8BD1B6
accent
#E5A643
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E