#CA797F#CA797F
#CA797F is a light, moderate red. Relative luminance 0.278; OKLCH L 66.5% C 0.101 H 15.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CA797F |
|---|---|
| RGB | rgb(202, 121, 127) |
| HSL | hsl(356, 43%, 63%) |
| HSV | hsv(356, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 37.1%, 20.8%) |
| CIE-LAB | lab(59.68, 32.28, 10.36) |
| CIE-LCH | lch(59.68, 33.90, 17.79°) |
| OKLab | oklab(66.48% 0.0978 0.027) |
| OKLCH | oklch(66.48% 0.101 15.4) |
| XYZ | xyz(35.0268, 27.7665, 23.5892) |
| Luminance | 0.2776 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.60
Dusty Rose
#C0737A
ΔE00 2.57
Old Rose
#C87F89
ΔE00 2.75
Old Pink
#C77986
ΔE00 2.76
Ugly Pink
#CD7584
ΔE00 2.92
Dusky Pink
#CC7A8B
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA797F #79CAC4
analogous
#CA79A7 #CA797F #CA9B79
triadic
#CA797F #7FCA79 #797FCA
tetradic
#CA797F #A7CA79 #79CAC4 #9B79CA
square
#CA797F #A7CA79 #79CAC4 #9B79CA
split-complementary
#CA797F #79CA9B #79A7CA
monochromatic
#90393F #B94D55 #CA797F #DBA5A9 #EDD1D3
Accessibility & contrast
On white
3.20
#CA797F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#CA797F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA797F
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA797F | 1.00 | 3.20 | 6.55 | 6.55 |
| #FFFFFF | 3.20 | 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)
#88867F
Deuteranopia (green-blind)
#9C967E
Tritanopia (blue-blind)
#D8707B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ca797f; /* rgb */ color: rgb(202, 121, 127); /* oklch */ color: oklch(66.5% 0.101 15.4);
Tailwind
colors: {
custom: {
50: '#dca1a4',
500: '#ca797f',
950: '#000000',
},
}SCSS
$custom: #ca797f; $custom-light: #dca1a4; $custom-dark: #000000;
JSON
{
"hex": "#ca797f",
"rgb": {
"r": 202,
"g": 121,
"b": 127
},
"hsl": {
"h": 355.556,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66477,
"c": 0.10145,
"h": 15.4
},
"luminance": 0.27764
}Semantic roles & 50–950 ramp
primary
#CA797F
secondary
#C1DEDC
accent
#B6AC2F
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F