#B4314B#B4314B

#B4314B is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.167 H 13.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B4314B
RGBrgb(180, 49, 75)
HSLhsl(348, 57%, 45%)
HSVhsv(348, 73%, 71%)
CMYKcmyk(0%, 72.8%, 58.3%, 29.4%)
CIE-LABlab(41.86, 53.79, 16.22)
CIE-LCHlch(41.86, 56.18, 16.78°)
OKLaboklab(51.99% 0.1619 0.0402)
OKLCHoklch(51.99% 0.167 13.9)
XYZxyz(21.1928, 12.4109, 7.9348)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4314B #31B49A
analogous
#B4318C #B4314B #B45931
triadic
#B4314B #4BB431 #314BB4
tetradic
#B4314B #8CB431 #31B49A #5931B4
square
#B4314B #8CB431 #31B49A #5931B4
split-complementary
#B4314B #31B459 #318CB4
monochromatic
#541723 #842437 #B4314B #D0526B #DD8294

Accessibility & contrast

On white

6.03
#B4314B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B4314B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4314B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4314B#FFFFFF#000000##FFFFFF
##B4314B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53524B
Deuteranopia (green-blind)
#756D48
Tritanopia (blue-blind)
#C50A3C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4314b;
/* rgb */ color: rgb(180, 49, 75);
/* oklch */ color: oklch(52.0% 0.167 13.9);
Tailwind
colors: {
  custom: {
    50: '#d1737d',
    500: '#b4314b',
    950: '#000000',
  },
}
SCSS
$custom: #b4314b;
$custom-light: #d1737d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4314b",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 348.092,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.16679,
    "h": 13.9
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#B4314B
secondary
#7BC6B7
accent
#E0C247
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B4314B

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

Preview Lab → · Contrast checker → · Palette generator →

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