#B31929#B31929
#B31929 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.4% C 0.185 H 23.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B31929 |
|---|---|
| RGB | rgb(179, 25, 41) |
| HSL | hsl(354, 75%, 40%) |
| HSV | hsv(354, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 77.1%, 29.8%) |
| CIE-LAB | lab(38.62, 58.64, 33.15) |
| CIE-LCH | lch(38.62, 67.36, 29.48°) |
| OKLab | oklab(49.37% 0.1704 0.0733) |
| OKLCH | oklch(49.37% 0.185 23.3) |
| XYZ | xyz(19.3407, 10.4422, 3.0946) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.86
Lipstick Red
#C0022F
ΔE00 2.93
Firebrick
#B22222
ΔE00 2.96
Scarlet
#BE0119
ΔE00 4.19
Cardinal
#C41E3A
ΔE00 4.90
Cherry (survey)
#CF0234
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31929 #19B3A3
analogous
#B31976 #B31929 #B35619
triadic
#B31929 #29B319 #1929B3
tetradic
#B31929 #76B319 #19B3A3 #5619B3
square
#B31929 #76B319 #19B3A3 #5619B3
split-complementary
#B31929 #19B356 #1976B3
monochromatic
#480A10 #7D121D #B31929 #E1283B #E85E6C
Accessibility & contrast
On white
6.80
#B31929 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#B31929 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31929
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31929 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#C50021
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31929; /* rgb */ color: rgb(179, 25, 41); /* oklch */ color: oklch(49.4% 0.185 23.3);
Tailwind
colors: {
custom: {
50: '#d36963',
500: '#b31929',
950: '#000000',
},
}SCSS
$custom: #b31929; $custom-light: #d36963; $custom-dark: #000000;
JSON
{
"hex": "#b31929",
"rgb": {
"r": 179,
"g": 25,
"b": 41
},
"hsl": {
"h": 353.766,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.49372,
"c": 0.18549,
"h": 23.3
},
"luminance": 0.10439
}Semantic roles & 50–950 ramp
primary
#B31929
secondary
#5BCCC1
accent
#F2DF36
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160705
muted
#847A79