#CD797A#CD797A
#CD797A is a light, moderate red. Relative luminance 0.281; OKLCH L 66.7% C 0.105 H 19.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CD797A |
|---|---|
| RGB | rgb(205, 121, 122) |
| HSL | hsl(359, 46%, 64%) |
| HSV | hsv(359, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 40.5%, 19.6%) |
| CIE-LAB | lab(59.94, 32.83, 13.66) |
| CIE-LCH | lch(59.94, 35.56, 22.59°) |
| OKLab | oklab(66.72% 0.0992 0.0351) |
| OKLCH | oklch(66.72% 0.105 19.5) |
| XYZ | xyz(35.5288, 28.0621, 21.9539) |
| Luminance | 0.2806 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.94
Brownish Pink
#C27E79
ΔE00 3.40
Dusty Rose
#C0737A
ΔE00 3.81
Old Rose
#C87F89
ΔE00 4.51
Ugly Pink
#CD7584
ΔE00 4.75
Old Pink
#C77986
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD797A #79CDCC
analogous
#CD79A4 #CD797A #CDA279
triadic
#CD797A #7ACD79 #797ACD
tetradic
#CD797A #A4CD79 #79CDCC #A279CD
square
#CD797A #A4CD79 #79CDCC #A279CD
split-complementary
#CD797A #79CDA2 #79A4CD
monochromatic
#943738 #BC4C4E #CD797A #DEA6A6 #EED2D2
Accessibility & contrast
On white
3.18
#CD797A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#CD797A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD797A
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD797A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD797A | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#9F9779
Tritanopia (blue-blind)
#DC6F7A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cd797a; /* rgb */ color: rgb(205, 121, 122); /* oklch */ color: oklch(66.7% 0.105 19.5);
Tailwind
colors: {
custom: {
50: '#dfa1a0',
500: '#cd797a',
950: '#000000',
},
}SCSS
$custom: #cd797a; $custom-light: #dfa1a0; $custom-dark: #000000;
JSON
{
"hex": "#cd797a",
"rgb": {
"r": 205,
"g": 121,
"b": 122
},
"hsl": {
"h": 359.286,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.66725,
"c": 0.10523,
"h": 19.5
},
"luminance": 0.28059
}Semantic roles & 50–950 ramp
primary
#CD797A
secondary
#C2E0DF
accent
#B9B72D
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0E
muted
#847F7E