#CA315F#CA315F
#CA315F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.190 H 8.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CA315F |
|---|---|
| RGB | rgb(202, 49, 95) |
| HSL | hsl(342, 61%, 49%) |
| HSV | hsv(342, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 53%, 20.8%) |
| CIE-LAB | lab(46.42, 61.73, 10.73) |
| CIE-LCH | lch(46.42, 62.66, 9.86°) |
| OKLab | oklab(56.26% 0.1879 0.0275) |
| OKLCH | oklch(56.26% 0.19 8.3) |
| XYZ | xyz(27.5235, 15.5833, 12.3828) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.18
Cerise
#DE0C62
ΔE00 3.41
Deep Rose
#C74767
ΔE00 3.49
Dark Hot Pink
#D90166
ΔE00 3.78
Cherry
#DE3163
ΔE00 4.26
Raspberry
#E30B5C
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA315F #31CA9C
analogous
#CA31AC #CA315F #CA5031
triadic
#CA315F #5FCA31 #315FCA
tetradic
#CA315F #ACCA31 #31CA9C #5031CA
square
#CA315F #ACCA31 #31CA9C #5031CA
split-complementary
#CA315F #31CA50 #31ACCA
monochromatic
#671931 #992548 #CA315F #D86084 #E491AA
Accessibility & contrast
On white
5.10
#CA315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#CA315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA315F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA315F | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595A60
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#DC0045
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ca315f; /* rgb */ color: rgb(202, 49, 95); /* oklch */ color: oklch(56.3% 0.190 8.3);
Tailwind
colors: {
custom: {
50: '#e1778c',
500: '#ca315f',
950: '#000000',
},
}SCSS
$custom: #ca315f; $custom-light: #e1778c; $custom-dark: #000000;
JSON
{
"hex": "#ca315f",
"rgb": {
"r": 202,
"g": 49,
"b": 95
},
"hsl": {
"h": 341.961,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.5626,
"c": 0.18987,
"h": 8.3
},
"luminance": 0.15579
}Semantic roles & 50–950 ramp
primary
#CA315F
secondary
#88CFBA
accent
#E4B444
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D