#B4313F#B4313F
#B4313F is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.7% C 0.167 H 19.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B4313F |
|---|---|
| RGB | rgb(180, 49, 63) |
| HSL | hsl(354, 57%, 45%) |
| HSV | hsv(354, 73%, 71%) |
| CMYK | cmyk(0%, 72.8%, 65%, 29.4%) |
| CIE-LAB | lab(41.63, 53.00, 23.37) |
| CIE-LCH | lch(41.63, 57.93, 23.80°) |
| OKLab | oklab(51.74% 0.1571 0.0557) |
| OKLCH | oklch(51.74% 0.167 19.5) |
| XYZ | xyz(20.8201, 12.2619, 5.9721) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.07
Rose Red
#BE013C
ΔE00 4.07
Lipstick Red
#C0022F
ΔE00 4.23
Dull Red
#BB3F3F
ΔE00 4.34
Dusty Red
#B9484E
ΔE00 4.88
Rouge
#AB1239
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4313F #31B4A6
analogous
#B43180 #B4313F #B46531
triadic
#B4313F #3FB431 #313FB4
tetradic
#B4313F #80B431 #31B4A6 #6531B4
square
#B4313F #80B431 #31B4A6 #6531B4
split-complementary
#B4313F #31B465 #3180B4
monochromatic
#54171D #84242E #B4313F #D05260 #DD828C
Accessibility & contrast
On white
6.08
#B4313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B4313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4313F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4313F | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55513F
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b4313f; /* rgb */ color: rgb(180, 49, 63); /* oklch */ color: oklch(51.7% 0.167 19.5);
Tailwind
colors: {
custom: {
50: '#d27374',
500: '#b4313f',
950: '#000000',
},
}SCSS
$custom: #b4313f; $custom-light: #d27374; $custom-dark: #000000;
JSON
{
"hex": "#b4313f",
"rgb": {
"r": 180,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.588,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.51741,
"c": 0.16671,
"h": 19.5
},
"luminance": 0.12259
}Semantic roles & 50–950 ramp
primary
#B4313F
secondary
#7BC6BE
accent
#E0D047
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B