#B2312E#B2312E
#B2312E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.166 H 26.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B2312E |
|---|---|
| RGB | rgb(178, 49, 46) |
| HSL | hsl(1, 59%, 44%) |
| HSV | hsv(1, 74%, 70%) |
| CMYK | cmyk(0%, 72.5%, 74.2%, 30.2%) |
| CIE-LAB | lab(41.00, 51.49, 32.78) |
| CIE-LCH | lch(41.00, 61.04, 32.48°) |
| OKLab | oklab(51.12% 0.149 0.0739) |
| OKLCH | oklch(51.12% 0.166 26.4) |
| XYZ | xyz(19.9538, 11.8619, 3.8231) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.51
Brown
#A52A2A
ΔE00 3.16
Dull Red
#BB3F3F
ΔE00 4.27
Scarlet
#BE0119
ΔE00 4.42
Lipstick Red
#C0022F
ΔE00 5.02
Brick
#A03623
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2312E #2EAFB2
analogous
#B22E6D #B2312E #B2732E
triadic
#B2312E #2EB231 #312EB2
tetradic
#B2312E #6DB22E #2EAFB2 #732EB2
square
#B2312E #6DB22E #2EAFB2 #732EB2
split-complementary
#B2312E #2EB273 #2E6DB2
monochromatic
#511615 #812421 #B2312E #D14F4C #DD7F7D
Accessibility & contrast
On white
6.23
#B2312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B2312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2312E
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2312E | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b2312e; /* rgb */ color: rgb(178, 49, 46); /* oklch */ color: oklch(51.1% 0.166 26.4);
Tailwind
colors: {
custom: {
50: '#d17267',
500: '#b2312e',
950: '#000000',
},
}SCSS
$custom: #b2312e; $custom-light: #d17267; $custom-dark: #000000;
JSON
{
"hex": "#b2312e",
"rgb": {
"r": 178,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.364,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.51118,
"c": 0.16628,
"h": 26.4
},
"luminance": 0.11859
}Semantic roles & 50–950 ramp
primary
#B2312E
secondary
#76C4C6
accent
#DFE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A