#CA787B#CA787B
#CA787B is a light, moderate red. Relative luminance 0.274; OKLCH L 66.2% C 0.103 H 17.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CA787B |
|---|---|
| RGB | rgb(202, 120, 123) |
| HSL | hsl(358, 44%, 63%) |
| HSV | hsv(358, 41%, 79%) |
| CMYK | cmyk(0%, 40.6%, 39.1%, 20.8%) |
| CIE-LAB | lab(59.36, 32.34, 12.22) |
| CIE-LCH | lch(59.36, 34.57, 20.69°) |
| OKLab | oklab(66.21% 0.0979 0.0316) |
| OKLCH | oklch(66.21% 0.103 17.9) |
| XYZ | xyz(34.6504, 27.4225, 22.2032) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.28
Dusty Rose
#C0737A
ΔE00 2.84
Brownish Pink
#C27E79
ΔE00 3.63
Old Rose
#C87F89
ΔE00 3.84
Old Pink
#C77986
ΔE00 3.93
Ugly Pink
#CD7584
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA787B #78CAC7
analogous
#CA78A4 #CA787B #CA9E78
triadic
#CA787B #7BCA78 #787BCA
tetradic
#CA787B #A4CA78 #78CAC7 #9E78CA
square
#CA787B #A4CA78 #78CAC7 #9E78CA
split-complementary
#CA787B #78CA9E #78A4CA
monochromatic
#8F383B #B94C50 #CA787B #DBA4A6 #EDD0D1
Accessibility & contrast
On white
3.24
#CA787B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#CA787B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA787B
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA787B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA787B | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88857B
Deuteranopia (green-blind)
#9C957A
Tritanopia (blue-blind)
#D96F79
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ca787b; /* rgb */ color: rgb(202, 120, 123); /* oklch */ color: oklch(66.2% 0.103 17.9);
Tailwind
colors: {
custom: {
50: '#dda0a1',
500: '#ca787b',
950: '#000000',
},
}SCSS
$custom: #ca787b; $custom-light: #dda0a1; $custom-dark: #000000;
JSON
{
"hex": "#ca787b",
"rgb": {
"r": 202,
"g": 120,
"b": 123
},
"hsl": {
"h": 357.805,
"s": 43.617,
"l": 63.137
},
"oklch": {
"l": 0.66207,
"c": 0.10282,
"h": 17.9
},
"luminance": 0.2742
}Semantic roles & 50–950 ramp
primary
#CA787B
secondary
#C0DEDD
accent
#B7B22F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E