#B1252B#B1252B
#B1252B is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 24.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B1252B |
|---|---|
| RGB | rgb(177, 37, 43) |
| HSL | hsl(357, 65%, 42%) |
| HSV | hsv(357, 79%, 69%) |
| CMYK | cmyk(0%, 79.1%, 75.7%, 30.6%) |
| CIE-LAB | lab(39.32, 55.08, 32.61) |
| CIE-LCH | lch(39.32, 64.01, 30.63°) |
| OKLab | oklab(49.83% 0.1598 0.0729) |
| OKLCH | oklch(49.83% 0.176 24.5) |
| XYZ | xyz(19.2314, 10.8477, 3.3662) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.24
Firebrick
#B22222
ΔE00 2.32
Lipstick Red
#C0022F
ΔE00 3.70
Scarlet
#BE0119
ΔE00 4.13
Cardinal
#C41E3A
ΔE00 5.14
Dull Red
#BB3F3F
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1252B #25B1AB
analogous
#B12571 #B1252B #B16525
triadic
#B1252B #2BB125 #252BB1
tetradic
#B1252B #71B125 #25B1AB #6525B1
square
#B1252B #71B125 #25B1AB #6525B1
split-complementary
#B1252B #25B165 #2571B1
monochromatic
#4C1012 #7E1A1F #B1252B #D63D43 #E16F74
Accessibility & contrast
On white
6.63
#B1252B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B1252B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1252B
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1252B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1252B | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51492A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b1252b; /* rgb */ color: rgb(177, 37, 43); /* oklch */ color: oklch(49.8% 0.176 24.5);
Tailwind
colors: {
custom: {
50: '#d16d64',
500: '#b1252b',
950: '#000000',
},
}SCSS
$custom: #b1252b; $custom-light: #d16d64; $custom-dark: #000000;
JSON
{
"hex": "#b1252b",
"rgb": {
"r": 177,
"g": 37,
"b": 43
},
"hsl": {
"h": 357.429,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.49826,
"c": 0.1756,
"h": 24.5
},
"luminance": 0.10845
}Semantic roles & 50–950 ramp
primary
#B1252B
secondary
#6AC8C4
accent
#E8E13F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A