#CD798A#CD798A
#CD798A is a light, moderate red. Relative luminance 0.285; OKLCH L 67.1% C 0.106 H 7.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CD798A |
|---|---|
| RGB | rgb(205, 121, 138) |
| HSL | hsl(348, 46%, 64%) |
| HSV | hsv(348, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 32.7%, 19.6%) |
| CIE-LAB | lab(60.33, 34.76, 5.01) |
| CIE-LCH | lch(60.33, 35.12, 8.20°) |
| OKLab | oklab(67.15% 0.1054 0.0135) |
| OKLCH | oklch(67.15% 0.106 7.3) |
| XYZ | xyz(36.6031, 28.4918, 27.6115) |
| Luminance | 0.2849 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.39
Ugly Pink
#CD7584
ΔE00 1.54
Old Pink
#C77986
ΔE00 1.54
Muted Pink
#D1768F
ΔE00 2.27
Old Rose
#C87F89
ΔE00 2.58
Dirty Pink
#CA7B80
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD798A #79CDBC
analogous
#CD79B4 #CD798A #CD9279
triadic
#CD798A #8ACD79 #798ACD
tetradic
#CD798A #B4CD79 #79CDBC #9279CD
square
#CD798A #B4CD79 #79CDBC #9279CD
split-complementary
#CD798A #79CD92 #79B4CD
monochromatic
#94374A #BC4C63 #CD798A #DEA6B1 #EED2D8
Accessibility & contrast
On white
3.14
#CD798A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#CD798A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD798A
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD798A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD798A | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#9C9788
Tritanopia (blue-blind)
#DB727F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cd798a; /* rgb */ color: rgb(205, 121, 138); /* oklch */ color: oklch(67.1% 0.106 7.3);
Tailwind
colors: {
custom: {
50: '#dea1ac',
500: '#cd798a',
950: '#000000',
},
}SCSS
$custom: #cd798a; $custom-light: #dea1ac; $custom-dark: #000000;
JSON
{
"hex": "#cd798a",
"rgb": {
"r": 205,
"g": 121,
"b": 138
},
"hsl": {
"h": 347.857,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.67146,
"c": 0.10626,
"h": 7.3
},
"luminance": 0.28489
}Semantic roles & 50–950 ramp
primary
#CD798A
secondary
#C2E0DA
accent
#B99C2D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F