#CA5271#CA5271
#CA5271 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.155 H 7.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5271 |
|---|---|
| RGB | rgb(202, 82, 113) |
| HSL | hsl(345, 53%, 56%) |
| HSV | hsv(345, 59%, 79%) |
| CMYK | cmyk(0%, 59.4%, 44.1%, 20.8%) |
| CIE-LAB | lab(51.60, 50.42, 7.10) |
| CIE-LCH | lch(51.60, 50.92, 8.02°) |
| OKLab | oklab(60.25% 0.1534 0.0188) |
| OKLCH | oklch(60.25% 0.155 7) |
| XYZ | xyz(30.3571, 19.7869, 17.8402) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.89
Dark Pink
#CB416B
ΔE00 3.37
Darkish Pink
#DA467D
ΔE00 4.41
Rose (survey)
#CF6275
ΔE00 4.53
Cherry
#DE3163
ΔE00 5.43
Blush
#DE5D83
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5271 #52CAAB
analogous
#CA52AD #CA5271 #CA6F52
triadic
#CA5271 #71CA52 #5271CA
tetradic
#CA5271 #ADCA52 #52CAAB #6F52CA
square
#CA5271 #ADCA52 #52CAAB #6F52CA
split-complementary
#CA5271 #52CA6F #52ADCA
monochromatic
#7C263C #AB3453 #CA5271 #D88197 #E7B0BE
Accessibility & contrast
On white
4.24
#CA5271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CA5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5271
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5271 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#DB435E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca5271; /* rgb */ color: rgb(202, 82, 113); /* oklch */ color: oklch(60.3% 0.155 7.0);
Tailwind
colors: {
custom: {
50: '#df8899',
500: '#ca5271',
950: '#000000',
},
}SCSS
$custom: #ca5271; $custom-light: #df8899; $custom-dark: #000000;
JSON
{
"hex": "#ca5271",
"rgb": {
"r": 202,
"g": 82,
"b": 113
},
"hsl": {
"h": 344.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.60251,
"c": 0.15454,
"h": 7
},
"luminance": 0.19783
}Semantic roles & 50–950 ramp
primary
#CA5271
secondary
#A3D5C8
accent
#DDB74B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E