#CA2852#CA2852
#CA2852 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.196 H 12.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2852 |
|---|---|
| RGB | rgb(202, 40, 82) |
| HSL | hsl(344, 67%, 47%) |
| HSV | hsv(344, 80%, 79%) |
| CMYK | cmyk(0%, 80.2%, 59.4%, 20.8%) |
| CIE-LAB | lab(45.20, 63.42, 17.09) |
| CIE-LCH | lch(45.20, 65.68, 15.08°) |
| OKLab | oklab(55.26% 0.1914 0.0422) |
| OKLCH | oklch(55.26% 0.196 12.4) |
| XYZ | xyz(26.6417, 14.6873, 9.4131) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 2.16
Ruby
#CA0147
ΔE00 2.89
Raspberry
#E30B5C
ΔE00 4.61
Cerise
#DE0C62
ΔE00 4.95
Dark Rose
#B5485D
ΔE00 5.34
Cherry
#DE3163
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2852 #28CAA0
analogous
#CA28A3 #CA2852 #CA4F28
triadic
#CA2852 #52CA28 #2852CA
tetradic
#CA2852 #A3CA28 #28CAA0 #4F28CA
square
#CA2852 #A3CA28 #28CAA0 #4F28CA
split-complementary
#CA2852 #28CA4F #28A3CA
monochromatic
#641429 #971E3D #CA2852 #DD5276 #E7859F
Accessibility & contrast
On white
5.33
#CA2852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#CA2852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2852
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2852 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575653
Deuteranopia (green-blind)
#80774E
Tritanopia (blue-blind)
#DD003B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ca2852; /* rgb */ color: rgb(202, 40, 82); /* oklch */ color: oklch(55.3% 0.196 12.4);
Tailwind
colors: {
custom: {
50: '#e27382',
500: '#ca2852',
950: '#000000',
},
}SCSS
$custom: #ca2852; $custom-light: #e27382; $custom-dark: #000000;
JSON
{
"hex": "#ca2852",
"rgb": {
"r": 202,
"g": 40,
"b": 82
},
"hsl": {
"h": 344.444,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.55264,
"c": 0.19595,
"h": 12.4
},
"luminance": 0.14683
}Semantic roles & 50–950 ramp
primary
#CA2852
secondary
#7ED0BB
accent
#EABD3E
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#17090A
muted
#857B7C