#D1817C#D1817C
#D1817C is a light, moderate red. Relative luminance 0.307; OKLCH L 68.6% C 0.100 H 23.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D1817C |
|---|---|
| RGB | rgb(209, 129, 124) |
| HSL | hsl(4, 48%, 65%) |
| HSV | hsv(4, 41%, 82%) |
| CMYK | cmyk(0%, 38.3%, 40.7%, 18%) |
| CIE-LAB | lab(62.27, 30.29, 15.82) |
| CIE-LCH | lch(62.27, 34.18, 27.58°) |
| OKLab | oklab(68.62% 0.0914 0.0404) |
| OKLCH | oklch(68.62% 0.1 23.9) |
| XYZ | xyz(37.7847, 30.7142, 23.0033) |
| Luminance | 0.3071 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 3.07
Dirty Pink
#CA7B80
ΔE00 4.11
Lightcoral
#F08080
ΔE00 5.77
Old Rose
#C87F89
ΔE00 6.06
Dusty Pink (survey)
#D58A94
ΔE00 6.45
Dusty Rose
#C0737A
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1817C #7CCCD1
analogous
#D17CA2 #D1817C #D1AB7C
triadic
#D1817C #7CD181 #817CD1
tetradic
#D1817C #A2D17C #7CCCD1 #AB7CD1
square
#D1817C #A2D17C #7CCCD1 #AB7CD1
split-complementary
#D1817C #7CD1AB #7CA2D1
monochromatic
#9C3D37 #C1554F #D1817C #E1ADA9 #F1D8D7
Accessibility & contrast
On white
2.94
#D1817C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#D1817C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1817C
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1817C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1817C | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#A59D7B
Tritanopia (blue-blind)
#E07780
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d1817c; /* rgb */ color: rgb(209, 129, 124); /* oklch */ color: oklch(68.6% 0.100 23.9);
Tailwind
colors: {
custom: {
50: '#e2a6a1',
500: '#d1817c',
950: '#000000',
},
}SCSS
$custom: #d1817c; $custom-light: #e2a6a1; $custom-dark: #000000;
JSON
{
"hex": "#d1817c",
"rgb": {
"r": 209,
"g": 129,
"b": 124
},
"hsl": {
"h": 3.529,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.68624,
"c": 0.09997,
"h": 23.9
},
"luminance": 0.30711
}Semantic roles & 50–950 ramp
primary
#D1817C
secondary
#C6E1E3
accent
#B3BB2A
background
#FEFAF9
surface
#FCF4F2
border
#D5CECC
text
#160F0F
muted
#847F7E