#CA315B#CA315B
#CA315B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.189 H 10.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CA315B |
|---|---|
| RGB | rgb(202, 49, 91) |
| HSL | hsl(344, 61%, 49%) |
| HSV | hsv(344, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 55%, 20.8%) |
| CIE-LAB | lab(46.33, 61.43, 13.06) |
| CIE-LCH | lch(46.33, 62.80, 12.00°) |
| OKLab | oklab(56.16% 0.1864 0.033) |
| OKLCH | oklch(56.16% 0.189 10) |
| XYZ | xyz(27.3464, 15.5124, 11.4497) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.70
Deep Rose
#C74767
ΔE00 3.72
Cerise
#DE0C62
ΔE00 3.80
Dark Pink
#CB416B
ΔE00 3.91
Raspberry
#E30B5C
ΔE00 4.13
Cherry
#DE3163
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA315B #31CAA0
analogous
#CA31A8 #CA315B #CA5331
triadic
#CA315B #5BCA31 #315BCA
tetradic
#CA315B #A8CA31 #31CAA0 #5331CA
square
#CA315B #A8CA31 #31CAA0 #5331CA
split-complementary
#CA315B #31CA53 #31A8CA
monochromatic
#67192F #992545 #CA315B #D86081 #E491A8
Accessibility & contrast
On white
5.12
#CA315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#CA315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA315B
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA315B | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595A5C
Deuteranopia (green-blind)
#817957
Tritanopia (blue-blind)
#DD0043
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ca315b; /* rgb */ color: rgb(202, 49, 91); /* oklch */ color: oklch(56.2% 0.189 10.0);
Tailwind
colors: {
custom: {
50: '#e17789',
500: '#ca315b',
950: '#000000',
},
}SCSS
$custom: #ca315b; $custom-light: #e17789; $custom-dark: #000000;
JSON
{
"hex": "#ca315b",
"rgb": {
"r": 202,
"g": 49,
"b": 91
},
"hsl": {
"h": 343.529,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.56159,
"c": 0.18926,
"h": 10
},
"luminance": 0.15509
}Semantic roles & 50–950 ramp
primary
#CA315B
secondary
#88CFBB
accent
#E4B844
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C