#B12A3C#B12A3C
#B12A3C is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.170 H 18.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B12A3C |
|---|---|
| RGB | rgb(177, 42, 60) |
| HSL | hsl(352, 62%, 43%) |
| HSV | hsv(352, 76%, 69%) |
| CMYK | cmyk(0%, 76.3%, 66.1%, 30.6%) |
| CIE-LAB | lab(40.13, 54.33, 23.21) |
| CIE-LCH | lch(40.13, 59.08, 23.14°) |
| OKLab | oklab(50.51% 0.1611 0.0551) |
| OKLCH | oklch(50.51% 0.17 18.9) |
| XYZ | xyz(19.7772, 11.3323, 5.4201) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.34
Cardinal
#C41E3A
ΔE00 3.54
Rouge
#AB1239
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 3.96
Brown
#A52A2A
ΔE00 5.46
Ruby
#CA0147
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12A3C #2AB19F
analogous
#B12A7F #B12A3C #B15B2A
triadic
#B12A3C #3CB12A #2A3CB1
tetradic
#B12A3C #7FB12A #2AB19F #5B2AB1
square
#B12A3C #7FB12A #2AB19F #5B2AB1
split-complementary
#B12A3C #2AB15B #2A7FB1
monochromatic
#4E131A #801E2B #B12A3C #D34558 #DF7785
Accessibility & contrast
On white
6.43
#B12A3C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B12A3C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12A3C
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12A3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12A3C | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C3C
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#C20032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12a3c; /* rgb */ color: rgb(177, 42, 60); /* oklch */ color: oklch(50.5% 0.170 18.9);
Tailwind
colors: {
custom: {
50: '#d06f71',
500: '#b12a3c',
950: '#000000',
},
}SCSS
$custom: #b12a3c; $custom-light: #d06f71; $custom-dark: #000000;
JSON
{
"hex": "#b12a3c",
"rgb": {
"r": 177,
"g": 42,
"b": 60
},
"hsl": {
"h": 352,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.5051,
"c": 0.17031,
"h": 18.9
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#B12A3C
secondary
#70C6BB
accent
#E5CF43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A