#B52A30#B52A30
#B52A30 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.175 H 24.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A30 |
|---|---|
| RGB | rgb(181, 42, 48) |
| HSL | hsl(357, 62%, 44%) |
| HSV | hsv(357, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 73.5%, 29%) |
| CIE-LAB | lab(40.73, 54.94, 31.44) |
| CIE-LCH | lch(40.73, 63.30, 29.78°) |
| OKLab | oklab(51.03% 0.1599 0.0712) |
| OKLCH | oklch(51.03% 0.175 24) |
| XYZ | xyz(20.4199, 11.6963, 3.9781) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.21
Brown
#A52A2A
ΔE00 3.28
Lipstick Red
#C0022F
ΔE00 3.31
Cardinal
#C41E3A
ΔE00 4.11
Dull Red
#BB3F3F
ΔE00 4.21
Scarlet
#BE0119
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A30 #2AB5AF
analogous
#B52A75 #B52A30 #B5692A
triadic
#B52A30 #30B52A #2A30B5
tetradic
#B52A30 #75B52A #2AB5AF #692AB5
square
#B52A30 #75B52A #2AB5AF #692AB5
split-complementary
#B52A30 #2AB569 #2A75B5
monochromatic
#521316 #831E23 #B52A30 #D4484E #E0797E
Accessibility & contrast
On white
6.29
#B52A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B52A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A30
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A30 | 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)
#544D2F
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#C7002E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b52a30; /* rgb */ color: rgb(181, 42, 48); /* oklch */ color: oklch(51.0% 0.175 24.0);
Tailwind
colors: {
custom: {
50: '#d47068',
500: '#b52a30',
950: '#000000',
},
}SCSS
$custom: #b52a30; $custom-light: #d47068; $custom-dark: #000000;
JSON
{
"hex": "#b52a30",
"rgb": {
"r": 181,
"g": 42,
"b": 48
},
"hsl": {
"h": 357.41,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51032,
"c": 0.17508,
"h": 24
},
"luminance": 0.11693
}Semantic roles & 50–950 ramp
primary
#B52A30
secondary
#73C8C4
accent
#E5DE42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A