#B4313C#B4313C

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

Color values

HEX#B4313C
RGBrgb(180, 49, 60)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 72.8%, 66.7%, 29.4%)
CIE-LABlab(41.58, 52.83, 25.15)
CIE-LCHlch(41.58, 58.51, 25.46°)
OKLaboklab(51.69% 0.156 0.0594)
OKLCHoklch(51.69% 0.167 20.8)
XYZxyz(20.7385, 12.2292, 5.5426)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4313C #31B4A9
analogous
#B4317D #B4313C #B46831
triadic
#B4313C #3CB431 #313CB4
tetradic
#B4313C #7DB431 #31B4A9 #6831B4
square
#B4313C #7DB431 #31B4A9 #6831B4
split-complementary
#B4313C #31B468 #317DB4
monochromatic
#54171C #84242C #B4313C #D0525D #DD828A

Accessibility & contrast

On white

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

On black

3.45
#B4313C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4313C#FFFFFF#000000##FFFFFF
##B4313C1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56503B
Deuteranopia (green-blind)
#776C38
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4313c;
/* rgb */ color: rgb(180, 49, 60);
/* oklch */ color: oklch(51.7% 0.167 20.8);
Tailwind
colors: {
  custom: {
    50: '#d27371',
    500: '#b4313c',
    950: '#000000',
  },
}
SCSS
$custom: #b4313c;
$custom-light: #d27371;
$custom-dark: #000000;
JSON
{
  "hex": "#b4313c",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 354.962,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.16688,
    "h": 20.8
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4313C

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

Preview Lab → · Contrast checker → · Palette generator →

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