#B4313B#B4313B

#B4313B is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.167 H 21.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B4313B
RGBrgb(180, 49, 59)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 72.8%, 67.2%, 29.4%)
CIE-LABlab(41.56, 52.77, 25.74)
CIE-LCHlch(41.56, 58.72, 26.00°)
OKLaboklab(51.67% 0.1556 0.0606)
OKLCHoklch(51.67% 0.167 21.3)
XYZxyz(20.7123, 12.2188, 5.4047)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4313B #31B4AA
analogous
#B4317C #B4313B #B46931
triadic
#B4313B #3BB431 #313BB4
tetradic
#B4313B #7CB431 #31B4AA #6931B4
square
#B4313B #7CB431 #31B4AA #6931B4
split-complementary
#B4313B #31B469 #317CB4
monochromatic
#54171B #84242B #B4313B #D0525C #DD8289

Accessibility & contrast

On white

6.10
#B4313B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B4313B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4313B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4313B#FFFFFF#000000##FFFFFF
##B4313B1.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)
#56503A
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4313b;
/* rgb */ color: rgb(180, 49, 59);
/* oklch */ color: oklch(51.7% 0.167 21.3);
Tailwind
colors: {
  custom: {
    50: '#d27371',
    500: '#b4313b',
    950: '#000000',
  },
}
SCSS
$custom: #b4313b;
$custom-light: #d27371;
$custom-dark: #000000;
JSON
{
  "hex": "#b4313b",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.42,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.16694,
    "h": 21.3
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#B4313B
secondary
#7BC6C0
accent
#E0D547
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B4313B

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

Preview Lab → · Contrast checker → · Palette generator →

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