#CF3872#CF3872
#CF3872 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.192 H 2.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3872 |
|---|---|
| RGB | rgb(207, 56, 114) |
| HSL | hsl(337, 61%, 52%) |
| HSV | hsv(337, 73%, 81%) |
| CMYK | cmyk(0%, 72.9%, 44.9%, 18.8%) |
| CIE-LAB | lab(48.65, 62.46, 2.38) |
| CIE-LCH | lch(48.65, 62.51, 2.18°) |
| OKLab | oklab(58.23% 0.1914 0.0068) |
| OKLCH | oklch(58.23% 0.192 2) |
| XYZ | xyz(30.1859, 17.3126, 17.6684) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.67
Dark Hot Pink
#D90166
ΔE00 3.96
Darkish Pink
#DA467D
ΔE00 4.05
Deep Rose
#C74767
ΔE00 4.52
Cerise
#DE0C62
ΔE00 4.71
Deep Pink
#CB0162
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3872 #38CF95
analogous
#CF38BD #CF3872 #CF4A38
triadic
#CF3872 #72CF38 #3872CF
tetradic
#CF3872 #BDCF38 #38CF95 #4A38CF
square
#CF3872 #BDCF38 #38CF95 #4A38CF
split-complementary
#CF3872 #38CF4A #38BDCF
monochromatic
#711B3C #A32757 #CF3872 #DB6995 #E79BB8
Accessibility & contrast
On white
4.71
#CF3872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#CF3872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3872
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3872 | 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)
#5A6173
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#E11E51
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #cf3872; /* rgb */ color: rgb(207, 56, 114); /* oklch */ color: oklch(58.2% 0.192 2.0);
Tailwind
colors: {
custom: {
50: '#e37b9a',
500: '#cf3872',
950: '#000000',
},
}SCSS
$custom: #cf3872; $custom-light: #e37b9a; $custom-dark: #000000;
JSON
{
"hex": "#cf3872",
"rgb": {
"r": 207,
"g": 56,
"b": 114
},
"hsl": {
"h": 336.954,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.58233,
"c": 0.19156,
"h": 2
},
"luminance": 0.17309
}Semantic roles & 50–950 ramp
primary
#CF3872
secondary
#90D3B9
accent
#E4A744
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E