#B12A3F#B12A3F
#B12A3F is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.170 H 17.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B12A3F |
|---|---|
| RGB | rgb(177, 42, 63) |
| HSL | hsl(351, 62%, 43%) |
| HSV | hsv(351, 76%, 69%) |
| CMYK | cmyk(0%, 76.3%, 64.4%, 30.6%) |
| CIE-LAB | lab(40.19, 54.50, 21.41) |
| CIE-LCH | lch(40.19, 58.56, 21.45°) |
| OKLab | oklab(50.57% 0.1623 0.0514) |
| OKLCH | oklch(50.57% 0.17 17.6) |
| XYZ | xyz(19.8587, 11.3649, 5.8496) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.02
Rouge
#AB1239
ΔE00 3.36
Cardinal
#C41E3A
ΔE00 3.94
Lipstick Red
#C0022F
ΔE00 4.64
Ruby
#CA0147
ΔE00 4.97
Cherry (survey)
#CF0234
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12A3F #2AB19C
analogous
#B12A82 #B12A3F #B1592A
triadic
#B12A3F #3FB12A #2A3FB1
tetradic
#B12A3F #82B12A #2AB19C #592AB1
square
#B12A3F #82B12A #2AB19C #592AB1
split-complementary
#B12A3F #2AB159 #2A82B1
monochromatic
#4E131C #801E2D #B12A3F #D3455B #DF7787
Accessibility & contrast
On white
6.42
#B12A3F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B12A3F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12A3F
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12A3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12A3F | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D3F
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12a3f; /* rgb */ color: rgb(177, 42, 63); /* oklch */ color: oklch(50.6% 0.170 17.6);
Tailwind
colors: {
custom: {
50: '#d07073',
500: '#b12a3f',
950: '#000000',
},
}SCSS
$custom: #b12a3f; $custom-light: #d07073; $custom-dark: #000000;
JSON
{
"hex": "#b12a3f",
"rgb": {
"r": 177,
"g": 42,
"b": 63
},
"hsl": {
"h": 350.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.50567,
"c": 0.17025,
"h": 17.6
},
"luminance": 0.11362
}Semantic roles & 50–950 ramp
primary
#B12A3F
secondary
#70C6B9
accent
#E5CC43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B