#C5787F#C5787F
#C5787F is a light, moderate red. Relative luminance 0.268; OKLCH L 65.7% C 0.097 H 14.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C5787F |
|---|---|
| RGB | rgb(197, 120, 127) |
| HSL | hsl(355, 40%, 62%) |
| HSV | hsv(355, 39%, 77%) |
| CMYK | cmyk(0%, 39.1%, 35.5%, 22.7%) |
| CIE-LAB | lab(58.82, 30.93, 9.06) |
| CIE-LCH | lch(58.82, 32.23, 16.33°) |
| OKLab | oklab(65.69% 0.0938 0.0237) |
| OKLCH | oklch(65.69% 0.097 14.2) |
| XYZ | xyz(33.5746, 26.8382, 23.4865) |
| Luminance | 0.2684 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.45
Dusty Rose
#C0737A
ΔE00 1.70
Old Pink
#C77986
ΔE00 2.19
Old Rose
#C87F89
ΔE00 2.53
Ugly Pink
#CD7584
ΔE00 2.78
Dusky Pink
#CC7A8B
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5787F #78C5BE
analogous
#C578A6 #C5787F #C59778
triadic
#C5787F #7FC578 #787FC5
tetradic
#C5787F #A6C578 #78C5BE #9778C5
square
#C5787F #A6C578 #78C5BE #9778C5
split-complementary
#C5787F #78C597 #78A6C5
monochromatic
#883A42 #B34D56 #C5787F #D7A3A8 #EACED0
Accessibility & contrast
On white
3.30
#C5787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#C5787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C5787F
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5787F | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86857F
Deuteranopia (green-blind)
#99937E
Tritanopia (blue-blind)
#D3707B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c5787f; /* rgb */ color: rgb(197, 120, 127); /* oklch */ color: oklch(65.7% 0.097 14.2);
Tailwind
colors: {
custom: {
50: '#d9a0a4',
500: '#c5787f',
950: '#000000',
},
}SCSS
$custom: #c5787f; $custom-light: #d9a0a4; $custom-dark: #000000;
JSON
{
"hex": "#c5787f",
"rgb": {
"r": 197,
"g": 120,
"b": 127
},
"hsl": {
"h": 354.545,
"s": 39.896,
"l": 62.157
},
"oklch": {
"l": 0.65691,
"c": 0.09672,
"h": 14.2
},
"luminance": 0.26836
}Semantic roles & 50–950 ramp
primary
#C5787F
secondary
#BEDBD8
accent
#B3A733
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F