#CB4040#CB4040
#CB4040 is a mid, vivid red. Relative luminance 0.167; OKLCH L 57.2% C 0.176 H 24.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4040 |
|---|---|
| RGB | rgb(203, 64, 64) |
| HSL | hsl(0, 57%, 52%) |
| HSV | hsv(0, 68%, 80%) |
| CMYK | cmyk(0%, 68.5%, 68.5%, 20.4%) |
| CIE-LAB | lab(47.93, 54.71, 31.51) |
| CIE-LCH | lch(47.93, 63.13, 29.94°) |
| OKLab | oklab(57.22% 0.1598 0.0732) |
| OKLCH | oklch(57.22% 0.176 24.6) |
| XYZ | xyz(27.3903, 16.7374, 6.6379) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 1.31
Dull Red
#BB3F3F
ΔE00 3.38
Faded Red
#D3494E
ΔE00 3.64
Dark Coral
#CF524E
ΔE00 4.13
Crimson
#DC143C
ΔE00 4.80
Dusty Red
#B9484E
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4040 #40CBCB
analogous
#CB4086 #CB4040 #CB8640
triadic
#CB4040 #40CB40 #4040CB
tetradic
#CB4040 #86CB40 #40CBCB #8640CB
square
#CB4040 #86CB40 #40CBCB #8640CB
split-complementary
#CB4040 #40CB86 #4086CB
monochromatic
#721F1F #A22C2C #CB4040 #D87070 #E5A0A0
Accessibility & contrast
On white
4.83
#CB4040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#CB4040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB4040
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB4040 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3F
Deuteranopia (green-blind)
#897D3C
Tritanopia (blue-blind)
#DF1742
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cb4040; /* rgb */ color: rgb(203, 64, 64); /* oklch */ color: oklch(57.2% 0.176 24.6);
Tailwind
colors: {
custom: {
50: '#e37d75',
500: '#cb4040',
950: '#000000',
},
}SCSS
$custom: #cb4040; $custom-light: #e37d75; $custom-dark: #000000;
JSON
{
"hex": "#cb4040",
"rgb": {
"r": 203,
"g": 64,
"b": 64
},
"hsl": {
"h": 0,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.57218,
"c": 0.1758,
"h": 24.6
},
"luminance": 0.16733
}Semantic roles & 50–950 ramp
primary
#CB4040
secondary
#95D2D2
accent
#E0E047
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B