#CA405F#CA405F
#CA405F is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.7% C 0.174 H 11.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CA405F |
|---|---|
| RGB | rgb(202, 64, 95) |
| HSL | hsl(347, 57%, 52%) |
| HSV | hsv(347, 68%, 79%) |
| CMYK | cmyk(0%, 68.3%, 53%, 20.8%) |
| CIE-LAB | lab(48.33, 56.44, 13.38) |
| CIE-LCH | lch(48.33, 58.00, 13.33°) |
| OKLab | oklab(57.67% 0.1709 0.0339) |
| OKLCH | oklch(57.67% 0.174 11.2) |
| XYZ | xyz(28.2586, 17.0533, 12.6278) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 2.11
Dark Pink
#CB416B
ΔE00 3.32
Cherry
#DE3163
ΔE00 3.53
Dark Rose
#B5485D
ΔE00 3.93
Raspberry
#E30B5C
ΔE00 4.73
Lipstick
#D5174E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA405F #40CAAB
analogous
#CA40A4 #CA405F #CA6640
triadic
#CA405F #5FCA40 #405FCA
tetradic
#CA405F #A4CA40 #40CAAB #6640CA
square
#CA405F #A4CA40 #40CAAB #6640CA
split-complementary
#CA405F #40CA66 #40A4CA
monochromatic
#701F31 #A02C47 #CA405F #D77087 #E5A0AF
Accessibility & contrast
On white
4.76
#CA405F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#CA405F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA405F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA405F | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61615F
Deuteranopia (green-blind)
#857D5C
Tritanopia (blue-blind)
#DC254C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ca405f; /* rgb */ color: rgb(202, 64, 95); /* oklch */ color: oklch(57.7% 0.174 11.2);
Tailwind
colors: {
custom: {
50: '#e07e8c',
500: '#ca405f',
950: '#000000',
},
}SCSS
$custom: #ca405f; $custom-light: #e07e8c; $custom-dark: #000000;
JSON
{
"hex": "#ca405f",
"rgb": {
"r": 202,
"g": 64,
"b": 95
},
"hsl": {
"h": 346.522,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.5767,
"c": 0.17422,
"h": 11.2
},
"luminance": 0.1705
}Semantic roles & 50–950 ramp
primary
#CA405F
secondary
#95D1C3
accent
#E0BE48
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D