#B52A2F#B52A2F
#B52A2F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.175 H 24.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A2F |
|---|---|
| RGB | rgb(181, 42, 47) |
| HSL | hsl(358, 62%, 44%) |
| HSV | hsv(358, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 74%, 29%) |
| CIE-LAB | lab(40.72, 54.90, 32.02) |
| CIE-LCH | lch(40.72, 63.55, 30.26°) |
| OKLab | oklab(51.02% 0.1596 0.0723) |
| OKLCH | oklch(51.02% 0.175 24.4) |
| XYZ | xyz(20.3995, 11.6881, 3.8707) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.94
Brown
#A52A2A
ΔE00 3.21
Lipstick Red
#C0022F
ΔE00 3.49
Dull Red
#BB3F3F
ΔE00 4.29
Cardinal
#C41E3A
ΔE00 4.35
Scarlet
#BE0119
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A2F #2AB5B0
analogous
#B52A74 #B52A2F #B56A2A
triadic
#B52A2F #2FB52A #2A2FB5
tetradic
#B52A2F #74B52A #2AB5B0 #6A2AB5
square
#B52A2F #74B52A #2AB5B0 #6A2AB5
split-complementary
#B52A2F #2AB56A #2A74B5
monochromatic
#521315 #831E22 #B52A2F #D4484D #E0797D
Accessibility & contrast
On white
6.29
#B52A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B52A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A2F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A2F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C7002E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b52a2f; /* rgb */ color: rgb(181, 42, 47); /* oklch */ color: oklch(51.0% 0.175 24.4);
Tailwind
colors: {
custom: {
50: '#d47068',
500: '#b52a2f',
950: '#000000',
},
}SCSS
$custom: #b52a2f; $custom-light: #d47068; $custom-dark: #000000;
JSON
{
"hex": "#b52a2f",
"rgb": {
"r": 181,
"g": 42,
"b": 47
},
"hsl": {
"h": 357.842,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51018,
"c": 0.17518,
"h": 24.4
},
"luminance": 0.11685
}Semantic roles & 50–950 ramp
primary
#B52A2F
secondary
#73C8C5
accent
#E5E042
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A