#CF3871#CF3871
#CF3871 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.191 H 2.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3871 |
|---|---|
| RGB | rgb(207, 56, 113) |
| HSL | hsl(337, 61%, 52%) |
| HSV | hsv(337, 73%, 81%) |
| CMYK | cmyk(0%, 72.9%, 45.4%, 18.8%) |
| CIE-LAB | lab(48.62, 62.37, 2.95) |
| CIE-LCH | lch(48.62, 62.44, 2.71°) |
| OKLab | oklab(58.2% 0.1911 0.0083) |
| OKLCH | oklch(58.2% 0.191 2.5) |
| XYZ | xyz(30.1293, 17.2899, 17.3703) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.45
Dark Hot Pink
#D90166
ΔE00 3.85
Darkish Pink
#DA467D
ΔE00 4.10
Deep Rose
#C74767
ΔE00 4.30
Cerise
#DE0C62
ΔE00 4.52
Deep Pink
#CB0162
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3871 #38CF96
analogous
#CF38BD #CF3871 #CF4B38
triadic
#CF3871 #71CF38 #3871CF
tetradic
#CF3871 #BDCF38 #38CF96 #4B38CF
square
#CF3871 #BDCF38 #38CF96 #4B38CF
split-complementary
#CF3871 #38CF4B #38BDCF
monochromatic
#711B3C #A32756 #CF3871 #DB6994 #E79BB7
Accessibility & contrast
On white
4.71
#CF3871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#CF3871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3871
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3871 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#837E6D
Tritanopia (blue-blind)
#E11D50
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cf3871; /* rgb */ color: rgb(207, 56, 113); /* oklch */ color: oklch(58.2% 0.191 2.5);
Tailwind
colors: {
custom: {
50: '#e37b99',
500: '#cf3871',
950: '#000000',
},
}SCSS
$custom: #cf3871; $custom-light: #e37b99; $custom-dark: #000000;
JSON
{
"hex": "#cf3871",
"rgb": {
"r": 207,
"g": 56,
"b": 113
},
"hsl": {
"h": 337.351,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.58203,
"c": 0.19127,
"h": 2.5
},
"luminance": 0.17286
}Semantic roles & 50–950 ramp
primary
#CF3871
secondary
#90D3BA
accent
#E4A844
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E