#B12842#B12842
#B12842 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 15.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B12842 |
|---|---|
| RGB | rgb(177, 40, 66) |
| HSL | hsl(349, 63%, 43%) |
| HSV | hsv(349, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 62.7%, 30.6%) |
| CIE-LAB | lab(40.02, 55.33, 19.31) |
| CIE-LCH | lch(40.02, 58.60, 19.24°) |
| OKLab | oklab(50.46% 0.1656 0.0468) |
| OKLCH | oklch(50.46% 0.172 15.8) |
| XYZ | xyz(19.8757, 11.2610, 6.2802) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.89
Rouge
#AB1239
ΔE00 2.98
Ruby
#CA0147
ΔE00 4.47
Cardinal
#C41E3A
ΔE00 4.72
Lipstick Red
#C0022F
ΔE00 5.54
Raspberry (survey)
#B00149
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12842 #28B197
analogous
#B12887 #B12842 #B15228
triadic
#B12842 #42B128 #2842B1
tetradic
#B12842 #87B128 #28B197 #5228B1
square
#B12842 #87B128 #28B197 #5228B1
split-complementary
#B12842 #28B152 #2887B1
monochromatic
#4D111D #7F1D2F #B12842 #D4425E #E07488
Accessibility & contrast
On white
6.46
#B12842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B12842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12842
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12842 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12842; /* rgb */ color: rgb(177, 40, 66); /* oklch */ color: oklch(50.5% 0.172 15.8);
Tailwind
colors: {
custom: {
50: '#d06f76',
500: '#b12842',
950: '#000000',
},
}SCSS
$custom: #b12842; $custom-light: #d06f76; $custom-dark: #000000;
JSON
{
"hex": "#b12842",
"rgb": {
"r": 177,
"g": 40,
"b": 66
},
"hsl": {
"h": 348.613,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50458,
"c": 0.17206,
"h": 15.8
},
"luminance": 0.11258
}Semantic roles & 50–950 ramp
primary
#B12842
secondary
#6EC7B6
accent
#E6C742
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B