#CA315C#CA315C
#CA315C is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.189 H 9.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CA315C |
|---|---|
| RGB | rgb(202, 49, 92) |
| HSL | hsl(343, 61%, 49%) |
| HSV | hsv(343, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 54.5%, 20.8%) |
| CIE-LAB | lab(46.35, 61.50, 12.48) |
| CIE-LCH | lch(46.35, 62.75, 11.47°) |
| OKLab | oklab(56.18% 0.1867 0.0316) |
| OKLCH | oklch(56.18% 0.189 9.6) |
| XYZ | xyz(27.3898, 15.5298, 11.6784) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 3.63
Cerise
#DE0C62
ΔE00 3.67
Dark Pink
#CB416B
ΔE00 3.70
Lipstick
#D5174E
ΔE00 3.94
Raspberry
#E30B5C
ΔE00 4.16
Cherry
#DE3163
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA315C #31CA9F
analogous
#CA31A9 #CA315C #CA5231
triadic
#CA315C #5CCA31 #315CCA
tetradic
#CA315C #A9CA31 #31CA9F #5231CA
square
#CA315C #A9CA31 #31CA9F #5231CA
split-complementary
#CA315C #31CA52 #31A9CA
monochromatic
#67192F #992546 #CA315C #D86082 #E491A8
Accessibility & contrast
On white
5.12
#CA315C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#CA315C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA315C
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA315C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA315C | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595A5D
Deuteranopia (green-blind)
#817958
Tritanopia (blue-blind)
#DD0043
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ca315c; /* rgb */ color: rgb(202, 49, 92); /* oklch */ color: oklch(56.2% 0.189 9.6);
Tailwind
colors: {
custom: {
50: '#e17789',
500: '#ca315c',
950: '#000000',
},
}SCSS
$custom: #ca315c; $custom-light: #e17789; $custom-dark: #000000;
JSON
{
"hex": "#ca315c",
"rgb": {
"r": 202,
"g": 49,
"b": 92
},
"hsl": {
"h": 343.137,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.56184,
"c": 0.1894,
"h": 9.6
},
"luminance": 0.15526
}Semantic roles & 50–950 ramp
primary
#CA315C
secondary
#88CFBB
accent
#E4B744
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0B
muted
#857C7C