#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
RGBrgb(180, 49, 58)
HSLhsl(356, 57%, 45%)
HSVhsv(356, 73%, 71%)
CMYKcmyk(0%, 72.8%, 67.8%, 29.4%)
CIE-LABlab(41.55, 52.72, 26.33)
CIE-LCHlch(41.55, 58.93, 26.54°)
OKLaboklab(51.65% 0.1552 0.0618)
OKLCHoklch(51.65% 0.167 21.7)
XYZxyz(20.6867, 12.2085, 5.2694)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##B4313A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.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

Preview Lab

Preview with #B4313A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4313A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva