#B04040#B04040
#B04040 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.8% C 0.147 H 23.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B04040 |
|---|---|
| RGB | rgb(176, 64, 64) |
| HSL | hsl(0, 47%, 47%) |
| HSV | hsv(0, 64%, 69%) |
| CMYK | cmyk(0%, 63.6%, 63.6%, 31%) |
| CIE-LAB | lab(43.17, 45.63, 24.56) |
| CIE-LCH | lch(43.17, 51.82, 28.30°) |
| OKLab | oklab(52.76% 0.1344 0.0587) |
| OKLCH | oklch(52.76% 0.147 23.6) |
| XYZ | xyz(20.6653, 13.2699, 6.3226) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.27
Dusty Red
#B9484E
ΔE00 3.80
Reddish
#C44240
ΔE00 4.40
Cardinal
#C41E3A
ΔE00 5.19
Brown
#A52A2A
ΔE00 5.65
Lipstick Red
#C0022F
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04040 #40B0B0
analogous
#B04078 #B04040 #B07840
triadic
#B04040 #40B040 #4040B0
tetradic
#B04040 #78B040 #40B0B0 #7840B0
square
#B04040 #78B040 #40B0B0 #7840B0
split-complementary
#B04040 #40B078 #4078B0
monochromatic
#561F1F #833030 #B04040 #C76666 #D89393
Accessibility & contrast
On white
5.75
#B04040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B04040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B04040
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B04040 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#C12841
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b04040; /* rgb */ color: rgb(176, 64, 64); /* oklch */ color: oklch(52.8% 0.147 23.6);
Tailwind
colors: {
custom: {
50: '#ce7a75',
500: '#b04040',
950: '#000000',
},
}SCSS
$custom: #b04040; $custom-light: #ce7a75; $custom-dark: #000000;
JSON
{
"hex": "#b04040",
"rgb": {
"r": 176,
"g": 64,
"b": 64
},
"hsl": {
"h": 0,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.52762,
"c": 0.14665,
"h": 23.6
},
"luminance": 0.13267
}Semantic roles & 50–950 ramp
primary
#B04040
secondary
#89C3C3
accent
#D6D651
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150A08
muted
#837C7B