#D5787F#D5787F
#D5787F is a light, moderate red. Relative luminance 0.291; OKLCH L 67.7% C 0.116 H 15.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D5787F |
|---|---|
| RGB | rgb(213, 120, 127) |
| HSL | hsl(355, 53%, 65%) |
| HSV | hsv(355, 44%, 84%) |
| CMYK | cmyk(0%, 43.7%, 40.4%, 16.5%) |
| CIE-LAB | lab(60.88, 36.92, 12.26) |
| CIE-LCH | lch(60.88, 38.90, 18.37°) |
| OKLab | oklab(67.7% 0.1117 0.0317) |
| OKLCH | oklch(67.7% 0.116 15.8) |
| XYZ | xyz(37.9898, 29.1148, 23.6935) |
| Luminance | 0.2911 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 2.35
Ugly Pink
#CD7584
ΔE00 3.42
Old Pink
#C77986
ΔE00 4.10
Old Rose
#C87F89
ΔE00 4.11
Dusty Rose
#C0737A
ΔE00 4.36
Dusky Pink
#CC7A8B
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5787F #78D5CE
analogous
#D578AD #D5787F #D59F78
triadic
#D5787F #7FD578 #787FD5
tetradic
#D5787F #ADD578 #78D5CE #9F78D5
square
#D5787F #ADD578 #78D5CE #9F78D5
split-complementary
#D5787F #78D59F #78ADD5
monochromatic
#A1323A #C64953 #D5787F #E4A7AB #F2D5D8
Accessibility & contrast
On white
3.08
#D5787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#D5787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D5787F
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5787F | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A887F
Deuteranopia (green-blind)
#A19A7D
Tritanopia (blue-blind)
#E56D7B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d5787f; /* rgb */ color: rgb(213, 120, 127); /* oklch */ color: oklch(67.7% 0.116 15.8);
Tailwind
colors: {
custom: {
50: '#e5a0a4',
500: '#d5787f',
950: '#000000',
},
}SCSS
$custom: #d5787f; $custom-light: #e5a0a4; $custom-dark: #000000;
JSON
{
"hex": "#d5787f",
"rgb": {
"r": 213,
"g": 120,
"b": 127
},
"hsl": {
"h": 355.484,
"s": 52.542,
"l": 65.294
},
"oklch": {
"l": 0.67697,
"c": 0.11609,
"h": 15.8
},
"luminance": 0.29111
}Semantic roles & 50–950 ramp
primary
#D5787F
secondary
#C5E4E2
accent
#C0B426
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F