#B52E31#B52E31
#B52E31 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.172 H 24.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B52E31 |
|---|---|
| RGB | rgb(181, 46, 49) |
| HSL | hsl(359, 59%, 45%) |
| HSV | hsv(359, 75%, 71%) |
| CMYK | cmyk(0%, 74.6%, 72.9%, 29%) |
| CIE-LAB | lab(41.22, 53.65, 31.42) |
| CIE-LCH | lch(41.22, 62.17, 30.35°) |
| OKLab | oklab(51.4% 0.1561 0.0714) |
| OKLCH | oklch(51.4% 0.172 24.6) |
| XYZ | xyz(20.5898, 12.0027, 4.1377) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.25
Brown
#A52A2A
ΔE00 3.47
Dull Red
#BB3F3F
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 4.34
Scarlet
#BE0119
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52E31 #2EB5B2
analogous
#B52E74 #B52E31 #B56F2E
triadic
#B52E31 #31B52E #2E31B5
tetradic
#B52E31 #74B52E #2EB5B2 #6F2EB5
square
#B52E31 #74B52E #2EB5B2 #6F2EB5
split-complementary
#B52E31 #2EB56F #2E74B5
monochromatic
#531517 #842224 #B52E31 #D24E51 #DE7F81
Accessibility & contrast
On white
6.18
#B52E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B52E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52E31
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52E31 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b52e31; /* rgb */ color: rgb(181, 46, 49); /* oklch */ color: oklch(51.4% 0.172 24.6);
Tailwind
colors: {
custom: {
50: '#d47169',
500: '#b52e31',
950: '#000000',
},
}SCSS
$custom: #b52e31; $custom-light: #d47169; $custom-dark: #000000;
JSON
{
"hex": "#b52e31",
"rgb": {
"r": 181,
"g": 46,
"b": 49
},
"hsl": {
"h": 358.667,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.51402,
"c": 0.17161,
"h": 24.6
},
"luminance": 0.11999
}Semantic roles & 50–950 ramp
primary
#B52E31
secondary
#78C7C5
accent
#E3DF45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A