#CA254E#CA254E
#CA254E is a mid, vivid red. Relative luminance 0.144; OKLCH L 55.0% C 0.198 H 13.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CA254E |
|---|---|
| RGB | rgb(202, 37, 78) |
| HSL | hsl(345, 69%, 47%) |
| HSV | hsv(345, 82%, 79%) |
| CMYK | cmyk(0%, 81.7%, 61.4%, 20.8%) |
| CIE-LAB | lab(44.85, 63.94, 19.09) |
| CIE-LCH | lch(44.85, 66.73, 16.63°) |
| OKLab | oklab(54.98% 0.1923 0.0466) |
| OKLCH | oklch(54.98% 0.198 13.6) |
| XYZ | xyz(26.3966, 14.4338, 8.6023) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.86
Ruby
#CA0147
ΔE00 2.29
Rose Red
#BE013C
ΔE00 4.81
Cardinal
#C41E3A
ΔE00 5.10
Raspberry
#E30B5C
ΔE00 5.10
Cerise
#DE0C62
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA254E #25CAA1
analogous
#CA25A1 #CA254E #CA4F25
triadic
#CA254E #4ECA25 #254ECA
tetradic
#CA254E #A1CA25 #25CAA1 #4F25CA
square
#CA254E #A1CA25 #25CAA1 #4F25CA
split-complementary
#CA254E #25CA4F #25A1CA
monochromatic
#631226 #961C3A #CA254E #DF4E72 #E8819B
Accessibility & contrast
On white
5.40
#CA254E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#CA254E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA254E
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA254E | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#DD0037
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ca254e; /* rgb */ color: rgb(202, 37, 78); /* oklch */ color: oklch(55.0% 0.198 13.6);
Tailwind
colors: {
custom: {
50: '#e2727f',
500: '#ca254e',
950: '#000000',
},
}SCSS
$custom: #ca254e; $custom-light: #e2727f; $custom-dark: #000000;
JSON
{
"hex": "#ca254e",
"rgb": {
"r": 202,
"g": 37,
"b": 78
},
"hsl": {
"h": 345.091,
"s": 69.038,
"l": 46.863
},
"oklch": {
"l": 0.54976,
"c": 0.19788,
"h": 13.6
},
"luminance": 0.1443
}Semantic roles & 50–950 ramp
primary
#CA254E
secondary
#7AD1BB
accent
#ECC03C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#17090A
muted
#857B7C