#CA7871#CA7871
#CA7871 is a light, moderate red. Relative luminance 0.272; OKLCH L 66.0% C 0.104 H 25.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7871 |
|---|---|
| RGB | rgb(202, 120, 113) |
| HSL | hsl(5, 46%, 62%) |
| HSV | hsv(5, 44%, 79%) |
| CMYK | cmyk(0%, 40.6%, 44.1%, 20.8%) |
| CIE-LAB | lab(59.14, 31.23, 17.65) |
| CIE-LCH | lch(59.14, 35.88, 29.48°) |
| OKLab | oklab(65.97% 0.0939 0.0447) |
| OKLCH | oklch(65.97% 0.104 25.5) |
| XYZ | xyz(34.0561, 27.1847, 19.0732) |
| Luminance | 0.2718 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 2.85
Dirty Pink
#CA7B80
ΔE00 4.72
Dusty Rose
#C0737A
ΔE00 5.75
Pinkish Brown
#B17261
ΔE00 6.93
Old Rose
#C87F89
ΔE00 7.17
Indianred
#CD5C5C
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7871 #71C3CA
analogous
#CA7197 #CA7871 #CAA571
triadic
#CA7871 #71CA78 #7871CA
tetradic
#CA7871 #97CA71 #71C3CA #A571CA
square
#CA7871 #97CA71 #71C3CA #A571CA
split-complementary
#CA7871 #71CAA5 #7197CA
monochromatic
#8C3B34 #B94E45 #CA7871 #DBA29E #EBCDCA
Accessibility & contrast
On white
3.26
#CA7871 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#CA7871 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA7871
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7871 | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A8470
Deuteranopia (green-blind)
#9E9570
Tritanopia (blue-blind)
#DA6D77
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ca7871; /* rgb */ color: rgb(202, 120, 113); /* oklch */ color: oklch(66.0% 0.104 25.5);
Tailwind
colors: {
custom: {
50: '#dda099',
500: '#ca7871',
950: '#000000',
},
}SCSS
$custom: #ca7871; $custom-light: #dda099; $custom-dark: #000000;
JSON
{
"hex": "#ca7871",
"rgb": {
"r": 202,
"g": 120,
"b": 113
},
"hsl": {
"h": 4.719,
"s": 45.641,
"l": 61.765
},
"oklch": {
"l": 0.65968,
"c": 0.10397,
"h": 25.5
},
"luminance": 0.27182
}Semantic roles & 50–950 ramp
primary
#CA7871
secondary
#BBD9DC
accent
#AEB92D
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E