#CA797B#CA797B
#CA797B is a light, moderate red. Relative luminance 0.277; OKLCH L 66.4% C 0.102 H 18.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CA797B |
|---|---|
| RGB | rgb(202, 121, 123) |
| HSL | hsl(359, 43%, 63%) |
| HSV | hsv(359, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 39.1%, 20.8%) |
| CIE-LAB | lab(59.58, 31.81, 12.53) |
| CIE-LCH | lch(59.58, 34.18, 21.50°) |
| OKLab | oklab(66.38% 0.0962 0.0323) |
| OKLCH | oklch(66.38% 0.102 18.6) |
| XYZ | xyz(34.7713, 27.6643, 22.2435) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.38
Dusty Rose
#C0737A
ΔE00 3.14
Brownish Pink
#C27E79
ΔE00 3.28
Old Rose
#C87F89
ΔE00 3.95
Old Pink
#C77986
ΔE00 4.20
Ugly Pink
#CD7584
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA797B #79CAC8
analogous
#CA79A3 #CA797B #CA9F79
triadic
#CA797B #7BCA79 #797BCA
tetradic
#CA797B #A3CA79 #79CAC8 #9F79CA
square
#CA797B #A3CA79 #79CAC8 #9F79CA
split-complementary
#CA797B #79CA9F #79A3CA
monochromatic
#90393B #B94D50 #CA797B #DBA5A6 #EDD1D1
Accessibility & contrast
On white
3.21
#CA797B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#CA797B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA797B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA797B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA797B | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867B
Deuteranopia (green-blind)
#9D967A
Tritanopia (blue-blind)
#D9707A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ca797b; /* rgb */ color: rgb(202, 121, 123); /* oklch */ color: oklch(66.4% 0.102 18.6);
Tailwind
colors: {
custom: {
50: '#dda1a1',
500: '#ca797b',
950: '#000000',
},
}SCSS
$custom: #ca797b; $custom-light: #dda1a1; $custom-dark: #000000;
JSON
{
"hex": "#ca797b",
"rgb": {
"r": 202,
"g": 121,
"b": 123
},
"hsl": {
"h": 358.519,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66376,
"c": 0.10151,
"h": 18.6
},
"luminance": 0.27661
}Semantic roles & 50–950 ramp
primary
#CA797B
secondary
#C1DEDD
accent
#B6B32F
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E