#B1313D#B1313D

#B1313D is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.164 H 20.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B1313D
RGBrgb(177, 49, 61)
HSLhsl(354, 57%, 44%)
HSVhsv(354, 72%, 69%)
CMYKcmyk(0%, 72.3%, 65.5%, 30.6%)
CIE-LABlab(41.03, 51.94, 23.73)
CIE-LCHlch(41.03, 57.10, 24.55°)
OKLaboklab(51.18% 0.1537 0.0564)
OKLCHoklch(51.18% 0.164 20.2)
XYZxyz(20.0742, 11.8836, 5.6507)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1313D #31B1A5
analogous
#B1317D #B1313D #B16531
triadic
#B1313D #3DB131 #313DB1
tetradic
#B1313D #7DB131 #31B1A5 #6531B1
square
#B1313D #7DB131 #31B1A5 #6531B1
split-complementary
#B1313D #31B165 #317DB1
monochromatic
#51161C #81242C #B1313D #CF515C #DC8089

Accessibility & contrast

On white

6.22
#B1313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B1313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1313D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1313D#FFFFFF#000000##FFFFFF
##B1313D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F3C
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#C20336
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1313d;
/* rgb */ color: rgb(177, 49, 61);
/* oklch */ color: oklch(51.2% 0.164 20.2);
Tailwind
colors: {
  custom: {
    50: '#d07372',
    500: '#b1313d',
    950: '#000000',
  },
}
SCSS
$custom: #b1313d;
$custom-light: #d07372;
$custom-dark: #000000;
JSON
{
  "hex": "#b1313d",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.16374,
    "h": 20.2
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#B1313D
secondary
#79C5BE
accent
#E0D248
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B1313D

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

Preview Lab → · Contrast checker → · Palette generator →

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