#CA2151#CA2151
#CA2151 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.201 H 12.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2151 |
|---|---|
| RGB | rgb(202, 33, 81) |
| HSL | hsl(343, 72%, 46%) |
| HSV | hsv(343, 84%, 79%) |
| CMYK | cmyk(0%, 83.7%, 59.9%, 20.8%) |
| CIE-LAB | lab(44.58, 65.07, 16.87) |
| CIE-LCH | lch(44.58, 67.22, 14.53°) |
| OKLab | oklab(54.8% 0.1965 0.0416) |
| OKLCH | oklch(54.8% 0.201 12) |
| XYZ | xyz(26.3890, 14.2424, 9.1425) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 2.37
Ruby
#CA0147
ΔE00 2.40
Raspberry
#E30B5C
ΔE00 4.77
Cerise
#DE0C62
ΔE00 4.93
Rose Red
#BE013C
ΔE00 5.19
Dark Hot Pink
#D90166
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2151 #21CA9A
analogous
#CA21A5 #CA2151 #CA4621
triadic
#CA2151 #51CA21 #2151CA
tetradic
#CA2151 #A5CA21 #21CA9A #4621CA
square
#CA2151 #A5CA21 #21CA9A #4621CA
split-complementary
#CA2151 #21CA46 #21A5CA
monochromatic
#611027 #95183C #CA2151 #E14773 #EA7C9B
Accessibility & contrast
On white
5.46
#CA2151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#CA2151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2151
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2151 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545452
Deuteranopia (green-blind)
#7F764D
Tritanopia (blue-blind)
#DD0037
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ca2151; /* rgb */ color: rgb(202, 33, 81); /* oklch */ color: oklch(54.8% 0.201 12.0);
Tailwind
colors: {
custom: {
50: '#e27181',
500: '#ca2151',
950: '#000000',
},
}SCSS
$custom: #ca2151; $custom-light: #e27181; $custom-dark: #000000;
JSON
{
"hex": "#ca2151",
"rgb": {
"r": 202,
"g": 33,
"b": 81
},
"hsl": {
"h": 342.959,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.54797,
"c": 0.20088,
"h": 12
},
"luminance": 0.14238
}Semantic roles & 50–950 ramp
primary
#CA2151
secondary
#75D2B7
accent
#EFBB39
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#17090A
muted
#857B7C