#CB5040#CB5040
#CB5040 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.1% C 0.160 H 30.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5040 |
|---|---|
| RGB | rgb(203, 80, 64) |
| HSL | hsl(7, 57%, 52%) |
| HSV | hsv(7, 68%, 80%) |
| CMYK | cmyk(0%, 60.6%, 68.5%, 20.4%) |
| CIE-LAB | lab(50.46, 47.90, 34.53) |
| CIE-LCH | lch(50.46, 59.05, 35.79°) |
| OKLab | oklab(59.12% 0.1384 0.0799) |
| OKLCH | oklch(59.12% 0.16 30) |
| XYZ | xyz(28.4255, 18.8078, 6.9829) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.90
Pale Red
#D9544D
ΔE00 4.19
Dark Salmon
#C85A53
ΔE00 4.30
Reddish
#C44240
ΔE00 4.86
Faded Red
#D3494E
ΔE00 5.66
Pastel Red
#DB5856
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5040 #40BBCB
analogous
#CB4076 #CB5040 #CB9540
triadic
#CB5040 #40CB50 #5040CB
tetradic
#CB5040 #76CB40 #40BBCB #9540CB
square
#CB5040 #76CB40 #40BBCB #9540CB
split-complementary
#CB5040 #40CB95 #4076CB
monochromatic
#72281F #A23A2C #CB5040 #D87C70 #E5A8A0
Accessibility & contrast
On white
4.41
#CB5040 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#CB5040 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5040
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5040 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#DF354D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb5040; /* rgb */ color: rgb(203, 80, 64); /* oklch */ color: oklch(59.1% 0.160 30.0);
Tailwind
colors: {
custom: {
50: '#e28675',
500: '#cb5040',
950: '#000000',
},
}SCSS
$custom: #cb5040; $custom-light: #e28675; $custom-dark: #000000;
JSON
{
"hex": "#cb5040",
"rgb": {
"r": 203,
"g": 80,
"b": 64
},
"hsl": {
"h": 6.906,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.59121,
"c": 0.15981,
"h": 30
},
"luminance": 0.18804
}Semantic roles & 50–950 ramp
primary
#CB5040
secondary
#95CBD2
accent
#CFE047
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B