#B12845#B12845
#B12845 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 14.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B12845 |
|---|---|
| RGB | rgb(177, 40, 69) |
| HSL | hsl(347, 63%, 43%) |
| HSV | hsv(347, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 61%, 30.6%) |
| CIE-LAB | lab(40.08, 55.52, 17.50) |
| CIE-LCH | lch(40.08, 58.21, 17.49°) |
| OKLab | oklab(50.52% 0.1668 0.0429) |
| OKLCH | oklch(50.52% 0.172 14.4) |
| XYZ | xyz(19.9665, 11.2973, 6.7583) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.23
Rose Red
#BE013C
ΔE00 3.27
Ruby
#CA0147
ΔE00 4.32
Raspberry (survey)
#B00149
ΔE00 4.86
Purplish Red
#B0054B
ΔE00 5.10
Cardinal
#C41E3A
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12845 #28B194
analogous
#B1288A #B12845 #B14F28
triadic
#B12845 #45B128 #2845B1
tetradic
#B12845 #8AB128 #28B194 #4F28B1
square
#B12845 #8AB128 #28B194 #4F28B1
split-complementary
#B12845 #28B14F #288AB1
monochromatic
#4D111E #7F1D32 #B12845 #D44261 #E0748B
Accessibility & contrast
On white
6.44
#B12845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B12845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12845
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12845 | 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)
#4E4C45
Deuteranopia (green-blind)
#716941
Tritanopia (blue-blind)
#C20034
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12845; /* rgb */ color: rgb(177, 40, 69); /* oklch */ color: oklch(50.5% 0.172 14.4);
Tailwind
colors: {
custom: {
50: '#cf6f78',
500: '#b12845',
950: '#000000',
},
}SCSS
$custom: #b12845; $custom-light: #cf6f78; $custom-dark: #000000;
JSON
{
"hex": "#b12845",
"rgb": {
"r": 177,
"g": 40,
"b": 69
},
"hsl": {
"h": 347.299,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50522,
"c": 0.17218,
"h": 14.4
},
"luminance": 0.11294
}Semantic roles & 50–950 ramp
primary
#B12845
secondary
#6EC7B4
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B