#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
RGBrgb(180, 49, 63)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 71%)
CMYKcmyk(0%, 72.8%, 65%, 29.4%)
CIE-LABlab(41.63, 53.00, 23.37)
CIE-LCHlch(41.63, 57.93, 23.80°)
OKLaboklab(51.74% 0.1571 0.0557)
OKLCHoklch(51.74% 0.167 19.5)
XYZxyz(20.8201, 12.2619, 5.9721)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##B4313F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.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

Preview Lab

Preview with #B4313F

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

Preview Lab → · Contrast checker → · Palette generator →

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