#CA787E#CA787E
#CA787E is a light, moderate red. Relative luminance 0.275; OKLCH L 66.3% C 0.103 H 15.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CA787E |
|---|---|
| RGB | rgb(202, 120, 126) |
| HSL | hsl(356, 44%, 63%) |
| HSV | hsv(356, 41%, 79%) |
| CMYK | cmyk(0%, 40.6%, 37.6%, 20.8%) |
| CIE-LAB | lab(59.43, 32.70, 10.59) |
| CIE-LCH | lch(59.43, 34.37, 17.94°) |
| OKLab | oklab(66.28% 0.099 0.0275) |
| OKLCH | oklch(66.28% 0.103 15.5) |
| XYZ | xyz(34.8411, 27.4987, 23.2074) |
| Luminance | 0.2750 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.85
Dusty Rose
#C0737A
ΔE00 2.43
Old Pink
#C77986
ΔE00 2.86
Ugly Pink
#CD7584
ΔE00 2.91
Old Rose
#C87F89
ΔE00 2.99
Dusky Pink
#CC7A8B
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA787E #78CAC4
analogous
#CA78A7 #CA787E #CA9B78
triadic
#CA787E #7ECA78 #787ECA
tetradic
#CA787E #A7CA78 #78CAC4 #9B78CA
square
#CA787E #A7CA78 #78CAC4 #9B78CA
split-complementary
#CA787E #78CA9B #78A7CA
monochromatic
#8F383F #B94C54 #CA787E #DBA4A8 #EDD0D2
Accessibility & contrast
On white
3.23
#CA787E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#CA787E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA787E
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA787E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA787E | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88857E
Deuteranopia (green-blind)
#9C957C
Tritanopia (blue-blind)
#D86F7A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ca787e; /* rgb */ color: rgb(202, 120, 126); /* oklch */ color: oklch(66.3% 0.103 15.5);
Tailwind
colors: {
custom: {
50: '#dda0a3',
500: '#ca787e',
950: '#000000',
},
}SCSS
$custom: #ca787e; $custom-light: #dda0a3; $custom-dark: #000000;
JSON
{
"hex": "#ca787e",
"rgb": {
"r": 202,
"g": 120,
"b": 126
},
"hsl": {
"h": 355.61,
"s": 43.617,
"l": 63.137
},
"oklch": {
"l": 0.66283,
"c": 0.1028,
"h": 15.5
},
"luminance": 0.27496
}Semantic roles & 50–950 ramp
primary
#CA787E
secondary
#C0DEDB
accent
#B7AD2F
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F