#B4313A#B4313A
#B4313A is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.167 H 21.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B4313A |
|---|---|
| RGB | rgb(180, 49, 58) |
| HSL | hsl(356, 57%, 45%) |
| HSV | hsv(356, 73%, 71%) |
| CMYK | cmyk(0%, 72.8%, 67.8%, 29.4%) |
| CIE-LAB | lab(41.55, 52.72, 26.33) |
| CIE-LCH | lch(41.55, 58.93, 26.54°) |
| OKLab | oklab(51.65% 0.1552 0.0618) |
| OKLCH | oklch(51.65% 0.167 21.7) |
| XYZ | xyz(20.6867, 12.2085, 5.2694) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.11
Dull Red
#BB3F3F
ΔE00 3.51
Lipstick Red
#C0022F
ΔE00 3.69
Brown
#A52A2A
ΔE00 4.62
Cherry (survey)
#CF0234
ΔE00 4.85
Rose Red
#BE013C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4313A #31B4AB
analogous
#B4317B #B4313A #B46A31
triadic
#B4313A #3AB431 #313AB4
tetradic
#B4313A #7BB431 #31B4AB #6A31B4
square
#B4313A #7BB431 #31B4AB #6A31B4
split-complementary
#B4313A #31B46A #317BB4
monochromatic
#54171B #84242A #B4313A #D0525B #DD8289
Accessibility & contrast
On white
6.10
#B4313A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B4313A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4313A
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4313A | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565039
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b4313a; /* rgb */ color: rgb(180, 49, 58); /* oklch */ color: oklch(51.7% 0.167 21.7);
Tailwind
colors: {
custom: {
50: '#d27370',
500: '#b4313a',
950: '#000000',
},
}SCSS
$custom: #b4313a; $custom-light: #d27370; $custom-dark: #000000;
JSON
{
"hex": "#b4313a",
"rgb": {
"r": 180,
"g": 49,
"b": 58
},
"hsl": {
"h": 355.878,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.51652,
"c": 0.16702,
"h": 21.7
},
"luminance": 0.12205
}Semantic roles & 50–950 ramp
primary
#B4313A
secondary
#7BC6C1
accent
#E0D647
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A