#B12938#B12938
#B12938 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 20.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B12938 |
|---|---|
| RGB | rgb(177, 41, 56) |
| HSL | hsl(353, 62%, 43%) |
| HSV | hsv(353, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 68.4%, 30.6%) |
| CIE-LAB | lab(39.95, 54.43, 25.46) |
| CIE-LCH | lch(39.95, 60.09, 25.07°) |
| OKLab | oklab(50.35% 0.1606 0.0597) |
| OKLCH | oklch(50.35% 0.171 20.4) |
| XYZ | xyz(19.6404, 11.2215, 4.8724) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.31
Cardinal
#C41E3A
ΔE00 3.41
Rose Red
#BE013C
ΔE00 3.96
Rouge
#AB1239
ΔE00 4.37
Brown
#A52A2A
ΔE00 4.43
Dull Red
#BB3F3F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12938 #29B1A2
analogous
#B1297C #B12938 #B15E29
triadic
#B12938 #38B129 #2938B1
tetradic
#B12938 #7CB129 #29B1A2 #5E29B1
square
#B12938 #7CB129 #29B1A2 #5E29B1
split-complementary
#B12938 #29B15E #297CB1
monochromatic
#4E1219 #7F1D28 #B12938 #D44453 #DF7581
Accessibility & contrast
On white
6.47
#B12938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B12938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12938
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12938 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12938; /* rgb */ color: rgb(177, 41, 56); /* oklch */ color: oklch(50.4% 0.171 20.4);
Tailwind
colors: {
custom: {
50: '#d06f6e',
500: '#b12938',
950: '#000000',
},
}SCSS
$custom: #b12938; $custom-light: #d06f6e; $custom-dark: #000000;
JSON
{
"hex": "#b12938",
"rgb": {
"r": 177,
"g": 41,
"b": 56
},
"hsl": {
"h": 353.382,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.50352,
"c": 0.17134,
"h": 20.4
},
"luminance": 0.11219
}Semantic roles & 50–950 ramp
primary
#B12938
secondary
#6FC7BD
accent
#E5D342
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A