#B12627#B12627
#B12627 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.175 H 26.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B12627 |
|---|---|
| RGB | rgb(177, 38, 39) |
| HSL | hsl(360, 65%, 42%) |
| HSV | hsv(360, 79%, 69%) |
| CMYK | cmyk(0%, 78.5%, 78%, 30.6%) |
| CIE-LAB | lab(39.38, 54.62, 35.02) |
| CIE-LCH | lch(39.38, 64.88, 32.66°) |
| OKLab | oklab(49.86% 0.1575 0.077) |
| OKLCH | oklch(49.86% 0.175 26.1) |
| XYZ | xyz(19.1931, 10.8829, 3.0091) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.08
Brown
#A52A2A
ΔE00 2.46
Scarlet
#BE0119
ΔE00 3.29
Lipstick Red
#C0022F
ΔE00 4.71
Brick
#A03623
ΔE00 4.98
Brownish Red
#9E3623
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12627 #26B1B0
analogous
#B1266D #B12627 #B16A26
triadic
#B12627 #27B126 #2627B1
tetradic
#B12627 #6DB126 #26B1B0 #6A26B1
square
#B12627 #6DB126 #26B1B0 #6A26B1
split-complementary
#B12627 #26B16A #266DB1
monochromatic
#4C1011 #7F1B1C #B12627 #D63F40 #E07172
Accessibility & contrast
On white
6.61
#B12627 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B12627 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12627
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12627 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12627 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A25
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b12627; /* rgb */ color: rgb(177, 38, 39); /* oklch */ color: oklch(49.9% 0.175 26.1);
Tailwind
colors: {
custom: {
50: '#d16d62',
500: '#b12627',
950: '#000000',
},
}SCSS
$custom: #b12627; $custom-light: #d16d62; $custom-dark: #000000;
JSON
{
"hex": "#b12627",
"rgb": {
"r": 177,
"g": 38,
"b": 39
},
"hsl": {
"h": 359.568,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.49855,
"c": 0.17528,
"h": 26.1
},
"luminance": 0.1088
}Semantic roles & 50–950 ramp
primary
#B12627
secondary
#6BC7C7
accent
#E8E640
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79