#B52A2A#B52A2A
#B52A2A is a mid, vivid red. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 26.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A2A |
|---|---|
| RGB | rgb(181, 42, 42) |
| HSL | hsl(0, 62%, 44%) |
| HSV | hsv(0, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 76.8%, 29%) |
| CIE-LAB | lab(40.65, 54.70, 34.89) |
| CIE-LCH | lch(40.65, 64.88, 32.53°) |
| OKLab | oklab(50.95% 0.1578 0.0773) |
| OKLCH | oklch(50.95% 0.176 26.1) |
| XYZ | xyz(20.3043, 11.6501, 3.3696) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.76
Brown
#A52A2A
ΔE00 3.28
Scarlet
#BE0119
ΔE00 3.43
Lipstick Red
#C0022F
ΔE00 4.57
Dull Red
#BB3F3F
ΔE00 4.89
Brick
#A03623
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A2A #2AB5B5
analogous
#B52A6F #B52A2A #B56F2A
triadic
#B52A2A #2AB52A #2A2AB5
tetradic
#B52A2A #6FB52A #2AB5B5 #6F2AB5
square
#B52A2A #6FB52A #2AB5B5 #6F2AB5
split-complementary
#B52A2A #2AB56F #2A6FB5
monochromatic
#521313 #831E1E #B52A2A #D44848 #E07979
Accessibility & contrast
On white
6.31
#B52A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B52A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A2A
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A2A | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b52a2a; /* rgb */ color: rgb(181, 42, 42); /* oklch */ color: oklch(51.0% 0.176 26.1);
Tailwind
colors: {
custom: {
50: '#d47064',
500: '#b52a2a',
950: '#000000',
},
}SCSS
$custom: #b52a2a; $custom-light: #d47064; $custom-dark: #000000;
JSON
{
"hex": "#b52a2a",
"rgb": {
"r": 181,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.50952,
"c": 0.17574,
"h": 26.1
},
"luminance": 0.11647
}Semantic roles & 50–950 ramp
primary
#B52A2A
secondary
#73C8C8
accent
#E5E542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A