#B2312A#B2312A
#B2312A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 27.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B2312A |
|---|---|
| RGB | rgb(178, 49, 42) |
| HSL | hsl(3, 62%, 43%) |
| HSV | hsv(3, 76%, 70%) |
| CMYK | cmyk(0%, 72.5%, 76.4%, 30.2%) |
| CIE-LAB | lab(40.95, 51.33, 35.04) |
| CIE-LCH | lch(40.95, 62.15, 34.32°) |
| OKLab | oklab(51.07% 0.1476 0.0778) |
| OKLCH | oklch(51.07% 0.167 27.8) |
| XYZ | xyz(19.8786, 11.8318, 3.4271) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.11
Brown
#A52A2A
ΔE00 3.58
Scarlet
#BE0119
ΔE00 3.97
Brick
#A03623
ΔE00 4.30
Brownish Red
#9E3623
ΔE00 4.61
Dull Red
#BB3F3F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2312A #2AABB2
analogous
#B22A67 #B2312A #B2752A
triadic
#B2312A #2AB231 #312AB2
tetradic
#B2312A #67B22A #2AABB2 #752AB2
square
#B2312A #67B22A #2AABB2 #752AB2
split-complementary
#B2312A #2AB275 #2A67B2
monochromatic
#4F1613 #80231E #B2312A #D34D46 #DF7D77
Accessibility & contrast
On white
6.24
#B2312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B2312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2312A
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2312A | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b2312a; /* rgb */ color: rgb(178, 49, 42); /* oklch */ color: oklch(51.1% 0.167 27.8);
Tailwind
colors: {
custom: {
50: '#d27264',
500: '#b2312a',
950: '#000000',
},
}SCSS
$custom: #b2312a; $custom-light: #d27264; $custom-dark: #000000;
JSON
{
"hex": "#b2312a",
"rgb": {
"r": 178,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.088,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.51067,
"c": 0.16685,
"h": 27.8
},
"luminance": 0.11829
}Semantic roles & 50–950 ramp
primary
#B2312A
secondary
#71C2C7
accent
#DDE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A