#CD5040#CD5040
#CD5040 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.4% C 0.162 H 29.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5040 |
|---|---|
| RGB | rgb(205, 80, 64) |
| HSL | hsl(7, 59%, 53%) |
| HSV | hsv(7, 69%, 80%) |
| CMYK | cmyk(0%, 61%, 68.8%, 19.6%) |
| CIE-LAB | lab(50.79, 48.60, 35.01) |
| CIE-LCH | lch(50.79, 59.90, 35.76°) |
| OKLab | oklab(59.43% 0.1404 0.0808) |
| OKLCH | oklch(59.43% 0.162 29.9) |
| XYZ | xyz(28.9738, 19.0906, 7.0086) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.86
Pale Red
#D9544D
ΔE00 3.92
Dark Salmon
#C85A53
ΔE00 4.33
Reddish
#C44240
ΔE00 5.10
Faded Red
#D3494E
ΔE00 5.63
Pastel Red
#DB5856
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5040 #40BDCD
analogous
#CD4076 #CD5040 #CD9740
triadic
#CD5040 #40CD50 #5040CD
tetradic
#CD5040 #76CD40 #40BDCD #9740CD
square
#CD5040 #76CD40 #40BDCD #9740CD
split-complementary
#CD5040 #40CD97 #4076CD
monochromatic
#74281E #A5392B #CD5040 #DA7C71 #E6A9A1
Accessibility & contrast
On white
4.36
#CD5040 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CD5040 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5040
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5040 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#91833C
Tritanopia (blue-blind)
#E1344D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cd5040; /* rgb */ color: rgb(205, 80, 64); /* oklch */ color: oklch(59.4% 0.162 29.9);
Tailwind
colors: {
custom: {
50: '#e38675',
500: '#cd5040',
950: '#000000',
},
}SCSS
$custom: #cd5040; $custom-light: #e38675; $custom-dark: #000000;
JSON
{
"hex": "#cd5040",
"rgb": {
"r": 205,
"g": 80,
"b": 64
},
"hsl": {
"h": 6.809,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.59434,
"c": 0.16201,
"h": 29.9
},
"luminance": 0.19087
}Semantic roles & 50–950 ramp
primary
#CD5040
secondary
#96CCD3
accent
#D0E246
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170B08
muted
#857C7B