#CD797F#CD797F
#CD797F is a light, moderate red. Relative luminance 0.282; OKLCH L 66.8% C 0.105 H 15.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CD797F |
|---|---|
| RGB | rgb(205, 121, 127) |
| HSL | hsl(356, 46%, 64%) |
| HSV | hsv(356, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 38%, 19.6%) |
| CIE-LAB | lab(60.06, 33.41, 10.95) |
| CIE-LCH | lch(60.06, 35.16, 18.15°) |
| OKLab | oklab(66.85% 0.1012 0.0284) |
| OKLCH | oklch(66.85% 0.105 15.7) |
| XYZ | xyz(35.8466, 28.1892, 23.6277) |
| Luminance | 0.2819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.86
Ugly Pink
#CD7584
ΔE00 2.99
Old Rose
#C87F89
ΔE00 3.04
Dusty Rose
#C0737A
ΔE00 3.06
Old Pink
#C77986
ΔE00 3.09
Dusky Pink
#CC7A8B
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD797F #79CDC7
analogous
#CD79A9 #CD797F #CD9D79
triadic
#CD797F #7FCD79 #797FCD
tetradic
#CD797F #A9CD79 #79CDC7 #9D79CD
square
#CD797F #A9CD79 #79CDC7 #9D79CD
split-complementary
#CD797F #79CD9D #79A9CD
monochromatic
#94373E #BC4C54 #CD797F #DEA6AA #EED2D4
Accessibility & contrast
On white
3.16
#CD797F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#CD797F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD797F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD797F | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#9E977D
Tritanopia (blue-blind)
#DC707B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cd797f; /* rgb */ color: rgb(205, 121, 127); /* oklch */ color: oklch(66.8% 0.105 15.7);
Tailwind
colors: {
custom: {
50: '#dfa1a4',
500: '#cd797f',
950: '#000000',
},
}SCSS
$custom: #cd797f; $custom-light: #dfa1a4; $custom-dark: #000000;
JSON
{
"hex": "#cd797f",
"rgb": {
"r": 205,
"g": 121,
"b": 127
},
"hsl": {
"h": 355.714,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.6685,
"c": 0.10509,
"h": 15.7
},
"luminance": 0.28186
}Semantic roles & 50–950 ramp
primary
#CD797F
secondary
#C2E0DE
accent
#B9AF2D
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F0F
muted
#847F7F