#CA254C#CA254C
#CA254C is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.9% C 0.198 H 14.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CA254C |
|---|---|
| RGB | rgb(202, 37, 76) |
| HSL | hsl(346, 69%, 47%) |
| HSV | hsv(346, 82%, 79%) |
| CMYK | cmyk(0%, 81.7%, 62.4%, 20.8%) |
| CIE-LAB | lab(44.81, 63.82, 20.28) |
| CIE-LCH | lch(44.81, 66.96, 17.63°) |
| OKLab | oklab(54.93% 0.1915 0.0493) |
| OKLCH | oklch(54.93% 0.198 14.4) |
| XYZ | xyz(26.3260, 14.4055, 8.2304) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.89
Ruby
#CA0147
ΔE00 2.28
Cardinal
#C41E3A
ΔE00 4.55
Rose Red
#BE013C
ΔE00 4.56
Raspberry
#E30B5C
ΔE00 5.42
Cherry (survey)
#CF0234
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA254C #25CAA3
analogous
#CA259F #CA254C #CA5025
triadic
#CA254C #4CCA25 #254CCA
tetradic
#CA254C #9FCA25 #25CAA3 #5025CA
square
#CA254C #9FCA25 #25CAA3 #5025CA
split-complementary
#CA254C #25CA50 #259FCA
monochromatic
#631225 #961C39 #CA254C #DF4E70 #E8819A
Accessibility & contrast
On white
5.41
#CA254C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#CA254C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA254C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA254C | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57544C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#DE0037
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ca254c; /* rgb */ color: rgb(202, 37, 76); /* oklch */ color: oklch(54.9% 0.198 14.4);
Tailwind
colors: {
custom: {
50: '#e2727d',
500: '#ca254c',
950: '#000000',
},
}SCSS
$custom: #ca254c; $custom-light: #e2727d; $custom-dark: #000000;
JSON
{
"hex": "#ca254c",
"rgb": {
"r": 202,
"g": 37,
"b": 76
},
"hsl": {
"h": 345.818,
"s": 69.038,
"l": 46.863
},
"oklch": {
"l": 0.54934,
"c": 0.19776,
"h": 14.4
},
"luminance": 0.14401
}Semantic roles & 50–950 ramp
primary
#CA254C
secondary
#7AD1BC
accent
#ECC23C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#170909
muted
#857B7B