#B2252D#B2252D
#B2252D is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.176 H 23.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B2252D |
|---|---|
| RGB | rgb(178, 37, 45) |
| HSL | hsl(357, 66%, 42%) |
| HSV | hsv(357, 79%, 70%) |
| CMYK | cmyk(0%, 79.2%, 74.7%, 30.2%) |
| CIE-LAB | lab(39.55, 55.45, 31.73) |
| CIE-LCH | lch(39.55, 63.89, 29.78°) |
| OKLab | oklab(50.04% 0.1613 0.0714) |
| OKLCH | oklch(50.04% 0.176 23.9) |
| XYZ | xyz(19.4976, 10.9807, 3.5750) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.54
Firebrick
#B22222
ΔE00 2.86
Lipstick Red
#C0022F
ΔE00 3.26
Scarlet
#BE0119
ΔE00 4.50
Cardinal
#C41E3A
ΔE00 4.61
Dull Red
#BB3F3F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2252D #25B2AA
analogous
#B22573 #B2252D #B26425
triadic
#B2252D #2DB225 #252DB2
tetradic
#B2252D #73B225 #25B2AA #6425B2
square
#B2252D #73B225 #25B2AA #6425B2
split-complementary
#B2252D #25B264 #2573B2
monochromatic
#4D1013 #7F1A20 #B2252D #D73D46 #E17077
Accessibility & contrast
On white
6.57
#B2252D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B2252D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2252D
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2252D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2252D | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#C4002A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b2252d; /* rgb */ color: rgb(178, 37, 45); /* oklch */ color: oklch(50.0% 0.176 23.9);
Tailwind
colors: {
custom: {
50: '#d26d66',
500: '#b2252d',
950: '#000000',
},
}SCSS
$custom: #b2252d; $custom-light: #d26d66; $custom-dark: #000000;
JSON
{
"hex": "#b2252d",
"rgb": {
"r": 178,
"g": 37,
"b": 45
},
"hsl": {
"h": 356.596,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.50036,
"c": 0.17636,
"h": 23.9
},
"luminance": 0.10978
}Semantic roles & 50–950 ramp
primary
#B2252D
secondary
#6BC8C3
accent
#E9DF3F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A