#B12838#B12838
#B12838 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.172 H 20.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B12838 |
|---|---|
| RGB | rgb(177, 40, 56) |
| HSL | hsl(353, 63%, 43%) |
| HSV | hsv(353, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 68.4%, 30.6%) |
| CIE-LAB | lab(39.84, 54.75, 25.32) |
| CIE-LCH | lch(39.84, 60.32, 24.82°) |
| OKLab | oklab(50.27% 0.1616 0.0594) |
| OKLCH | oklch(50.27% 0.172 20.2) |
| XYZ | xyz(19.6062, 11.1532, 4.8610) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.29
Cardinal
#C41E3A
ΔE00 3.42
Rose Red
#BE013C
ΔE00 3.81
Rouge
#AB1239
ΔE00 4.19
Brown
#A52A2A
ΔE00 4.52
Dull Red
#BB3F3F
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12838 #28B1A1
analogous
#B1287C #B12838 #B15D28
triadic
#B12838 #38B128 #2838B1
tetradic
#B12838 #7CB128 #28B1A1 #5D28B1
square
#B12838 #7CB128 #28B1A1 #5D28B1
split-complementary
#B12838 #28B15D #287CB1
monochromatic
#4D1118 #7F1D28 #B12838 #D44253 #E07480
Accessibility & contrast
On white
6.50
#B12838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B12838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12838
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12838 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12838; /* rgb */ color: rgb(177, 40, 56); /* oklch */ color: oklch(50.3% 0.172 20.2);
Tailwind
colors: {
custom: {
50: '#d06f6e',
500: '#b12838',
950: '#000000',
},
}SCSS
$custom: #b12838; $custom-light: #d06f6e; $custom-dark: #000000;
JSON
{
"hex": "#b12838",
"rgb": {
"r": 177,
"g": 40,
"b": 56
},
"hsl": {
"h": 352.993,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50267,
"c": 0.17219,
"h": 20.2
},
"luminance": 0.1115
}Semantic roles & 50–950 ramp
primary
#B12838
secondary
#6EC7BC
accent
#E6D342
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A