#D1787F#D1787F
#D1787F is a light, moderate red. Relative luminance 0.285; OKLCH L 67.2% C 0.111 H 15.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D1787F |
|---|---|
| RGB | rgb(209, 120, 127) |
| HSL | hsl(355, 49%, 65%) |
| HSV | hsv(355, 43%, 82%) |
| CMYK | cmyk(0%, 42.6%, 39.2%, 18%) |
| CIE-LAB | lab(60.36, 35.43, 11.45) |
| CIE-LCH | lch(60.36, 37.24, 17.90°) |
| OKLab | oklab(67.19% 0.1073 0.0297) |
| OKLCH | oklch(67.19% 0.111 15.5) |
| XYZ | xyz(36.8436, 28.5238, 23.6398) |
| Luminance | 0.2852 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.67
Ugly Pink
#CD7584
ΔE00 2.95
Old Pink
#C77986
ΔE00 3.45
Old Rose
#C87F89
ΔE00 3.53
Dusty Rose
#C0737A
ΔE00 3.62
Dusky Pink
#CC7A8B
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1787F #78D1CA
analogous
#D178AC #D1787F #D19E78
triadic
#D1787F #7FD178 #787FD1
tetradic
#D1787F #ACD178 #78D1CA #9E78D1
square
#D1787F #ACD178 #78D1CA #9E78D1
split-complementary
#D1787F #78D19E #78ACD1
monochromatic
#9A353C #C14A54 #D1787F #E1A6AA #F0D3D6
Accessibility & contrast
On white
3.13
#D1787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#D1787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D1787F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1787F | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 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)
#89877F
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#E06E7B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d1787f; /* rgb */ color: rgb(209, 120, 127); /* oklch */ color: oklch(67.2% 0.111 15.5);
Tailwind
colors: {
custom: {
50: '#e2a0a4',
500: '#d1787f',
950: '#000000',
},
}SCSS
$custom: #d1787f; $custom-light: #e2a0a4; $custom-dark: #000000;
JSON
{
"hex": "#d1787f",
"rgb": {
"r": 209,
"g": 120,
"b": 127
},
"hsl": {
"h": 355.281,
"s": 49.171,
"l": 64.51
},
"oklch": {
"l": 0.67188,
"c": 0.11129,
"h": 15.5
},
"luminance": 0.28521
}Semantic roles & 50–950 ramp
primary
#D1787F
secondary
#C3E2DF
accent
#BCB129
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#160F0F
muted
#847E7F