#CA3872#CA3872
#CA3872 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.187 H 1.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CA3872 |
|---|---|
| RGB | rgb(202, 56, 114) |
| HSL | hsl(336, 58%, 51%) |
| HSV | hsv(336, 72%, 79%) |
| CMYK | cmyk(0%, 72.3%, 43.6%, 20.8%) |
| CIE-LAB | lab(47.76, 61.06, 0.97) |
| CIE-LCH | lch(47.76, 61.07, 0.91°) |
| OKLab | oklab(57.41% 0.1872 0.0032) |
| OKLCH | oklch(57.41% 0.187 1) |
| XYZ | xyz(28.8107, 16.6035, 17.6040) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.28
Dark Hot Pink
#D90166
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 4.92
Darkish Pink
#DA467D
ΔE00 4.96
Deep Rose
#C74767
ΔE00 5.01
Cerise
#DE0C62
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA3872 #38CA90
analogous
#CA38BB #CA3872 #CA4738
triadic
#CA3872 #72CA38 #3872CA
tetradic
#CA3872 #BBCA38 #38CA90 #4738CA
square
#CA3872 #BBCA38 #38CA90 #4738CA
split-complementary
#CA3872 #38CA47 #38BBCA
monochromatic
#6B1D3C #9B2957 #CA3872 #D76894 #E499B6
Accessibility & contrast
On white
4.86
#CA3872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#CA3872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA3872
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA3872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA3872 | 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)
#585F73
Deuteranopia (green-blind)
#7F7C6F
Tritanopia (blue-blind)
#DB2151
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ca3872; /* rgb */ color: rgb(202, 56, 114); /* oklch */ color: oklch(57.4% 0.187 1.0);
Tailwind
colors: {
custom: {
50: '#e07a9a',
500: '#ca3872',
950: '#000000',
},
}SCSS
$custom: #ca3872; $custom-light: #e07a9a; $custom-dark: #000000;
JSON
{
"hex": "#ca3872",
"rgb": {
"r": 202,
"g": 56,
"b": 114
},
"hsl": {
"h": 336.164,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.57409,
"c": 0.18724,
"h": 1
},
"luminance": 0.166
}Semantic roles & 50–950 ramp
primary
#CA3872
secondary
#8ECFB6
accent
#E1A447
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E