#B12020#B12020
#B12020 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.180 H 27.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B12020 |
|---|---|
| RGB | rgb(177, 32, 32) |
| HSL | hsl(0, 69%, 41%) |
| HSV | hsv(0, 82%, 69%) |
| CMYK | cmyk(0%, 81.9%, 81.9%, 30.6%) |
| CIE-LAB | lab(38.70, 56.11, 38.28) |
| CIE-LCH | lch(38.70, 67.92, 34.31°) |
| OKLab | oklab(49.33% 0.1607 0.0818) |
| OKLCH | oklch(49.33% 0.18 27) |
| XYZ | xyz(18.9110, 10.4875, 2.3948) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.45
Scarlet
#BE0119
ΔE00 2.48
Brown
#A52A2A
ΔE00 3.20
Darkish Red
#A90308
ΔE00 4.36
Brick
#A03623
ΔE00 4.61
Brownish Red
#9E3623
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12020 #20B1B1
analogous
#B12068 #B12020 #B16820
triadic
#B12020 #20B120 #2020B1
tetradic
#B12020 #68B120 #20B1B1 #6820B1
square
#B12020 #68B120 #20B1B1 #6820B1
split-complementary
#B12020 #20B168 #2068B1
monochromatic
#490D0D #7D1717 #B12020 #DA3434 #E46868
Accessibility & contrast
On white
6.78
#B12020 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B12020 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12020
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12020 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12020 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#C30023
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b12020; /* rgb */ color: rgb(177, 32, 32); /* oklch */ color: oklch(49.3% 0.180 27.0);
Tailwind
colors: {
custom: {
50: '#d26b5d',
500: '#b12020',
950: '#000000',
},
}SCSS
$custom: #b12020; $custom-light: #d26b5d; $custom-dark: #000000;
JSON
{
"hex": "#b12020",
"rgb": {
"r": 177,
"g": 32,
"b": 32
},
"hsl": {
"h": 0,
"s": 69.378,
"l": 40.98
},
"oklch": {
"l": 0.49328,
"c": 0.1803,
"h": 27
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#B12020
secondary
#64C9C9
accent
#ECEC3C
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79