#B12940#B12940
#B12940 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.171 H 16.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B12940 |
|---|---|
| RGB | rgb(177, 41, 64) |
| HSL | hsl(350, 62%, 43%) |
| HSV | hsv(350, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 63.8%, 30.6%) |
| CIE-LAB | lab(40.09, 54.89, 20.66) |
| CIE-LCH | lch(40.09, 58.65, 20.63°) |
| OKLab | oklab(50.5% 0.1638 0.0498) |
| OKLCH | oklch(50.5% 0.171 16.9) |
| XYZ | xyz(19.8519, 11.3061, 5.9865) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.88
Rouge
#AB1239
ΔE00 3.13
Cardinal
#C41E3A
ΔE00 4.21
Ruby
#CA0147
ΔE00 4.75
Lipstick Red
#C0022F
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12940 #29B19A
analogous
#B12984 #B12940 #B15629
triadic
#B12940 #40B129 #2940B1
tetradic
#B12940 #84B129 #29B19A #5629B1
square
#B12940 #84B129 #29B19A #5629B1
split-complementary
#B12940 #29B156 #2984B1
monochromatic
#4E121C #7F1D2E #B12940 #D4445C #DF7587
Accessibility & contrast
On white
6.44
#B12940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B12940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12940
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12940 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504C40
Deuteranopia (green-blind)
#72693C
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12940; /* rgb */ color: rgb(177, 41, 64); /* oklch */ color: oklch(50.5% 0.171 16.9);
Tailwind
colors: {
custom: {
50: '#d06f74',
500: '#b12940',
950: '#000000',
},
}SCSS
$custom: #b12940; $custom-light: #d06f74; $custom-dark: #000000;
JSON
{
"hex": "#b12940",
"rgb": {
"r": 177,
"g": 41,
"b": 64
},
"hsl": {
"h": 349.853,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.50501,
"c": 0.17114,
"h": 16.9
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#B12940
secondary
#6FC7B8
accent
#E5CA42
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B