#CA797E#CA797E
#CA797E is a light, moderate red. Relative luminance 0.277; OKLCH L 66.5% C 0.101 H 16.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CA797E |
|---|---|
| RGB | rgb(202, 121, 126) |
| HSL | hsl(356, 43%, 63%) |
| HSV | hsv(356, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 37.6%, 20.8%) |
| CIE-LAB | lab(59.65, 32.16, 10.90) |
| CIE-LCH | lch(59.65, 33.96, 18.72°) |
| OKLab | oklab(66.45% 0.0974 0.0283) |
| OKLCH | oklch(66.45% 0.101 16.2) |
| XYZ | xyz(34.9620, 27.7405, 23.2477) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.58
Dusty Rose
#C0737A
ΔE00 2.65
Old Rose
#C87F89
ΔE00 3.03
Old Pink
#C77986
ΔE00 3.11
Ugly Pink
#CD7584
ΔE00 3.26
Brownish Pink
#C27E79
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA797E #79CAC5
analogous
#CA79A6 #CA797E #CA9C79
triadic
#CA797E #7ECA79 #797ECA
tetradic
#CA797E #A6CA79 #79CAC5 #9C79CA
square
#CA797E #A6CA79 #79CAC5 #9C79CA
split-complementary
#CA797E #79CA9C #79A6CA
monochromatic
#90393E #B94D54 #CA797E #DBA5A8 #EDD1D2
Accessibility & contrast
On white
3.21
#CA797E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#CA797E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA797E
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA797E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA797E | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867E
Deuteranopia (green-blind)
#9C967D
Tritanopia (blue-blind)
#D8707B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ca797e; /* rgb */ color: rgb(202, 121, 126); /* oklch */ color: oklch(66.5% 0.101 16.2);
Tailwind
colors: {
custom: {
50: '#dca1a3',
500: '#ca797e',
950: '#000000',
},
}SCSS
$custom: #ca797e; $custom-light: #dca1a3; $custom-dark: #000000;
JSON
{
"hex": "#ca797e",
"rgb": {
"r": 202,
"g": 121,
"b": 126
},
"hsl": {
"h": 356.296,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66452,
"c": 0.10143,
"h": 16.2
},
"luminance": 0.27738
}Semantic roles & 50–950 ramp
primary
#CA797E
secondary
#C1DEDC
accent
#B6AE2F
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F