#CA254F#CA254F
#CA254F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.198 H 13.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CA254F |
|---|---|
| RGB | rgb(202, 37, 79) |
| HSL | hsl(345, 69%, 47%) |
| HSV | hsv(345, 82%, 79%) |
| CMYK | cmyk(0%, 81.7%, 60.9%, 20.8%) |
| CIE-LAB | lab(44.87, 64.00, 18.50) |
| CIE-LCH | lch(44.87, 66.62, 16.12°) |
| OKLab | oklab(55% 0.1927 0.0453) |
| OKLCH | oklch(55% 0.198 13.2) |
| XYZ | xyz(26.4328, 14.4482, 8.7926) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 1.91
Ruby
#CA0147
ΔE00 2.35
Rose Red
#BE013C
ΔE00 4.95
Raspberry
#E30B5C
ΔE00 4.96
Cardinal
#C41E3A
ΔE00 5.37
Cerise
#DE0C62
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA254F #25CAA0
analogous
#CA25A2 #CA254F #CA4D25
triadic
#CA254F #4FCA25 #254FCA
tetradic
#CA254F #A2CA25 #25CAA0 #4D25CA
square
#CA254F #A2CA25 #25CAA0 #4D25CA
split-complementary
#CA254F #25CA4D #25A2CA
monochromatic
#631227 #961C3B #CA254F #DF4E73 #E8819C
Accessibility & contrast
On white
5.40
#CA254F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#CA254F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA254F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA254F | 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)
#56554F
Deuteranopia (green-blind)
#80764B
Tritanopia (blue-blind)
#DD0038
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ca254f; /* rgb */ color: rgb(202, 37, 79); /* oklch */ color: oklch(55.0% 0.198 13.2);
Tailwind
colors: {
custom: {
50: '#e27280',
500: '#ca254f',
950: '#000000',
},
}SCSS
$custom: #ca254f; $custom-light: #e27280; $custom-dark: #000000;
JSON
{
"hex": "#ca254f",
"rgb": {
"r": 202,
"g": 37,
"b": 79
},
"hsl": {
"h": 344.727,
"s": 69.038,
"l": 46.863
},
"oklch": {
"l": 0.54997,
"c": 0.19795,
"h": 13.2
},
"luminance": 0.14444
}Semantic roles & 50–950 ramp
primary
#CA254F
secondary
#7AD1BB
accent
#ECBF3C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#17090A
muted
#857B7C