#B52E2A#B52E2A
#B52E2A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.172 H 27.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B52E2A |
|---|---|
| RGB | rgb(181, 46, 42) |
| HSL | hsl(2, 62%, 44%) |
| HSV | hsv(2, 77%, 71%) |
| CMYK | cmyk(0%, 74.6%, 76.8%, 29%) |
| CIE-LAB | lab(41.13, 53.36, 35.41) |
| CIE-LCH | lch(41.13, 64.04, 33.57°) |
| OKLab | oklab(51.31% 0.1536 0.0784) |
| OKLCH | oklch(51.31% 0.172 27) |
| XYZ | xyz(20.4534, 11.9481, 3.4193) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.99
Scarlet
#BE0119
ΔE00 3.59
Brown
#A52A2A
ΔE00 3.70
Dull Red
#BB3F3F
ΔE00 4.79
Brick
#A03623
ΔE00 4.97
Brownish Red
#9E3623
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52E2A #2AB1B5
analogous
#B52A6B #B52E2A #B5732A
triadic
#B52E2A #2AB52E #2E2AB5
tetradic
#B52E2A #6BB52A #2AB1B5 #732AB5
square
#B52E2A #6BB52A #2AB1B5 #732AB5
split-complementary
#B52E2A #2AB573 #2A6BB5
monochromatic
#521513 #83211E #B52E2A #D44C48 #E07C79
Accessibility & contrast
On white
6.20
#B52E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B52E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52E2A
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52E2A | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E28
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#C7002F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b52e2a; /* rgb */ color: rgb(181, 46, 42); /* oklch */ color: oklch(51.3% 0.172 27.0);
Tailwind
colors: {
custom: {
50: '#d47164',
500: '#b52e2a',
950: '#000000',
},
}SCSS
$custom: #b52e2a; $custom-light: #d47164; $custom-dark: #000000;
JSON
{
"hex": "#b52e2a",
"rgb": {
"r": 181,
"g": 46,
"b": 42
},
"hsl": {
"h": 1.727,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51309,
"c": 0.17248,
"h": 27
},
"luminance": 0.11945
}Semantic roles & 50–950 ramp
primary
#B52E2A
secondary
#73C6C8
accent
#E1E542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A