#B12E25#B12E25
#B12E25 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 28.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E25 |
|---|---|
| RGB | rgb(177, 46, 37) |
| HSL | hsl(4, 65%, 42%) |
| HSV | hsv(4, 79%, 69%) |
| CMYK | cmyk(0%, 74%, 79.1%, 30.6%) |
| CIE-LAB | lab(40.31, 51.91, 37.12) |
| CIE-LCH | lch(40.31, 63.82, 35.57°) |
| OKLab | oklab(50.54% 0.1485 0.081) |
| OKLCH | oklch(50.54% 0.169 28.6) |
| XYZ | xyz(19.4447, 11.4377, 2.9338) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.74
Scarlet
#BE0119
ΔE00 3.53
Brick
#A03623
ΔE00 3.72
Brown
#A52A2A
ΔE00 3.77
Brownish Red
#9E3623
ΔE00 4.06
Darkish Red
#A90308
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E25 #25A8B1
analogous
#B12562 #B12E25 #B17425
triadic
#B12E25 #25B12E #2E25B1
tetradic
#B12E25 #62B125 #25A8B1 #7425B1
square
#B12E25 #62B125 #25A8B1 #7425B1
split-complementary
#B12E25 #25B174 #2562B1
monochromatic
#4C1410 #7E211A #B12E25 #D6473D #E1776F
Accessibility & contrast
On white
6.39
#B12E25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B12E25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E25
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E25 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D23
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e25; /* rgb */ color: rgb(177, 46, 37); /* oklch */ color: oklch(50.5% 0.169 28.6);
Tailwind
colors: {
custom: {
50: '#d17161',
500: '#b12e25',
950: '#000000',
},
}SCSS
$custom: #b12e25; $custom-light: #d17161; $custom-dark: #000000;
JSON
{
"hex": "#b12e25",
"rgb": {
"r": 177,
"g": 46,
"b": 37
},
"hsl": {
"h": 3.857,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.50537,
"c": 0.16915,
"h": 28.6
},
"luminance": 0.11435
}Semantic roles & 50–950 ramp
primary
#B12E25
secondary
#6AC2C8
accent
#DEE83F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79