#CD798C#CD798C
#CD798C is a light, moderate red. Relative luminance 0.285; OKLCH L 67.2% C 0.107 H 5.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD798C |
|---|---|
| RGB | rgb(205, 121, 140) |
| HSL | hsl(346, 46%, 64%) |
| HSV | hsv(346, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 31.7%, 19.6%) |
| CIE-LAB | lab(60.38, 35.02, 3.94) |
| CIE-LCH | lch(60.38, 35.24, 6.41°) |
| OKLab | oklab(67.2% 0.1062 0.0107) |
| OKLCH | oklch(67.2% 0.107 5.8) |
| XYZ | xyz(36.7492, 28.5502, 28.3811) |
| Luminance | 0.2855 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.60
Muted Pink
#D1768F
ΔE00 1.71
Old Pink
#C77986
ΔE00 2.03
Ugly Pink
#CD7584
ΔE00 2.07
Old Rose
#C87F89
ΔE00 3.02
Dull Pink
#D5869D
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD798C #79CDBA
analogous
#CD79B6 #CD798C #CD9079
triadic
#CD798C #8CCD79 #798CCD
tetradic
#CD798C #B6CD79 #79CDBA #9079CD
square
#CD798C #B6CD79 #79CDBA #9079CD
split-complementary
#CD798C #79CD90 #79B6CD
monochromatic
#94374C #BC4C66 #CD798C #DEA6B2 #EED2D9
Accessibility & contrast
On white
3.13
#CD798C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#CD798C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD798C
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD798C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD798C | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87888D
Deuteranopia (green-blind)
#9B988A
Tritanopia (blue-blind)
#DB7280
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cd798c; /* rgb */ color: rgb(205, 121, 140); /* oklch */ color: oklch(67.2% 0.107 5.8);
Tailwind
colors: {
custom: {
50: '#dea1ad',
500: '#cd798c',
950: '#000000',
},
}SCSS
$custom: #cd798c; $custom-light: #dea1ad; $custom-dark: #000000;
JSON
{
"hex": "#cd798c",
"rgb": {
"r": 205,
"g": 121,
"b": 140
},
"hsl": {
"h": 346.429,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.67203,
"c": 0.10669,
"h": 5.8
},
"luminance": 0.28547
}Semantic roles & 50–950 ramp
primary
#CD798C
secondary
#C2E0D9
accent
#B9992D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F