#CB5042#CB5042
#CB5042 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.2% C 0.159 H 29.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5042 |
|---|---|
| RGB | rgb(203, 80, 66) |
| HSL | hsl(6, 57%, 53%) |
| HSV | hsv(6, 67%, 80%) |
| CMYK | cmyk(0%, 60.6%, 67.5%, 20.4%) |
| CIE-LAB | lab(50.49, 48.01, 33.43) |
| CIE-LCH | lch(50.49, 58.50, 34.85°) |
| OKLab | oklab(59.15% 0.1391 0.0778) |
| OKLCH | oklch(59.15% 0.159 29.2) |
| XYZ | xyz(28.4835, 18.8310, 7.2881) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.33
Dark Salmon
#C85A53
ΔE00 3.82
Pale Red
#D9544D
ΔE00 3.82
Reddish
#C44240
ΔE00 4.50
Faded Red
#D3494E
ΔE00 5.08
Pastel Red
#DB5856
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5042 #42BDCB
analogous
#CB4279 #CB5042 #CB9442
triadic
#CB5042 #42CB50 #5042CB
tetradic
#CB5042 #79CB42 #42BDCB #9442CB
square
#CB5042 #79CB42 #42BDCB #9442CB
split-complementary
#CB5042 #42CB94 #4279CB
monochromatic
#732820 #A3392D #CB5042 #D87C72 #E5A9A2
Accessibility & contrast
On white
4.41
#CB5042 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#CB5042 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5042
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5042 | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716740
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#DE354D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb5042; /* rgb */ color: rgb(203, 80, 66); /* oklch */ color: oklch(59.2% 0.159 29.2);
Tailwind
colors: {
custom: {
50: '#e28677',
500: '#cb5042',
950: '#000000',
},
}SCSS
$custom: #cb5042; $custom-light: #e28677; $custom-dark: #000000;
JSON
{
"hex": "#cb5042",
"rgb": {
"r": 203,
"g": 80,
"b": 66
},
"hsl": {
"h": 6.131,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.59151,
"c": 0.15939,
"h": 29.2
},
"luminance": 0.18827
}Semantic roles & 50–950 ramp
primary
#CB5042
secondary
#97CCD2
accent
#D1E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B