#B12431#B12431
#B12431 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 22.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B12431 |
|---|---|
| RGB | rgb(177, 36, 49) |
| HSL | hsl(354, 66%, 42%) |
| HSV | hsv(354, 80%, 69%) |
| CMYK | cmyk(0%, 79.7%, 72.3%, 30.6%) |
| CIE-LAB | lab(39.30, 55.62, 28.97) |
| CIE-LCH | lch(39.30, 62.72, 27.51°) |
| OKLab | oklab(49.83% 0.1629 0.0663) |
| OKLCH | oklch(49.83% 0.176 22.1) |
| XYZ | xyz(19.3190, 10.8337, 3.9790) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 2.80
Brown
#A52A2A
ΔE00 3.13
Cardinal
#C41E3A
ΔE00 3.96
Firebrick
#B22222
ΔE00 4.28
Rose Red
#BE013C
ΔE00 5.04
Cherry (survey)
#CF0234
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12431 #24B1A4
analogous
#B12478 #B12431 #B15E24
triadic
#B12431 #31B124 #2431B1
tetradic
#B12431 #78B124 #24B1A4 #5E24B1
square
#B12431 #78B124 #24B1A4 #5E24B1
split-complementary
#B12431 #24B15E #2478B1
monochromatic
#4B0F15 #7E1A23 #B12431 #D73B49 #E16E79
Accessibility & contrast
On white
6.63
#B12431 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B12431 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12431
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12431 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b12431; /* rgb */ color: rgb(177, 36, 49); /* oklch */ color: oklch(49.8% 0.176 22.1);
Tailwind
colors: {
custom: {
50: '#d16d69',
500: '#b12431',
950: '#000000',
},
}SCSS
$custom: #b12431; $custom-light: #d16d69; $custom-dark: #000000;
JSON
{
"hex": "#b12431",
"rgb": {
"r": 177,
"g": 36,
"b": 49
},
"hsl": {
"h": 354.468,
"s": 66.197,
"l": 41.765
},
"oklch": {
"l": 0.49834,
"c": 0.17582,
"h": 22.1
},
"luminance": 0.10831
}Semantic roles & 50–950 ramp
primary
#B12431
secondary
#69C8BF
accent
#E9D93F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A