#B12831#B12831
#B12831 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 23.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B12831 |
|---|---|
| RGB | rgb(177, 40, 49) |
| HSL | hsl(356, 63%, 43%) |
| HSV | hsv(356, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 72.3%, 30.6%) |
| CIE-LAB | lab(39.73, 54.41, 29.48) |
| CIE-LCH | lch(39.73, 61.88, 28.45°) |
| OKLab | oklab(50.15% 0.159 0.0674) |
| OKLCH | oklch(50.15% 0.173 23) |
| XYZ | xyz(19.4469, 11.0895, 4.0217) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.85
Lipstick Red
#C0022F
ΔE00 3.13
Firebrick
#B22222
ΔE00 3.82
Cardinal
#C41E3A
ΔE00 4.11
Dull Red
#BB3F3F
ΔE00 4.92
Cherry (survey)
#CF0234
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12831 #28B1A8
analogous
#B12876 #B12831 #B16328
triadic
#B12831 #31B128 #2831B1
tetradic
#B12831 #76B128 #28B1A8 #6328B1
square
#B12831 #76B128 #28B1A8 #6328B1
split-complementary
#B12831 #28B163 #2876B1
monochromatic
#4D1115 #7F1D23 #B12831 #D4424C #E0747B
Accessibility & contrast
On white
6.53
#B12831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B12831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12831
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12831 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B30
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12831; /* rgb */ color: rgb(177, 40, 49); /* oklch */ color: oklch(50.2% 0.173 23.0);
Tailwind
colors: {
custom: {
50: '#d16e69',
500: '#b12831',
950: '#000000',
},
}SCSS
$custom: #b12831; $custom-light: #d16e69; $custom-dark: #000000;
JSON
{
"hex": "#b12831",
"rgb": {
"r": 177,
"g": 40,
"b": 49
},
"hsl": {
"h": 356.058,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50154,
"c": 0.17267,
"h": 23
},
"luminance": 0.11086
}Semantic roles & 50–950 ramp
primary
#B12831
secondary
#6EC7C1
accent
#E6DB42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A