#B1313C#B1313C

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

Color values

HEX#B1313C
RGBrgb(177, 49, 60)
HSLhsl(355, 57%, 44%)
HSVhsv(355, 72%, 69%)
CMYKcmyk(0%, 72.3%, 66.1%, 30.6%)
CIE-LABlab(41.01, 51.88, 24.32)
CIE-LCHlch(41.01, 57.30, 25.12°)
OKLaboklab(51.16% 0.1533 0.0576)
OKLCHoklch(51.16% 0.164 20.6)
XYZxyz(20.0475, 11.8729, 5.5102)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1313C #31B1A6
analogous
#B1317C #B1313C #B16631
triadic
#B1313C #3CB131 #313CB1
tetradic
#B1313C #7CB131 #31B1A6 #6631B1
square
#B1313C #7CB131 #31B1A6 #6631B1
split-complementary
#B1313C #31B166 #317CB1
monochromatic
#51161C #81242C #B1313C #CF515B #DC8088

Accessibility & contrast

On white

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

On black

3.37
#B1313C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1313C#FFFFFF#000000##FFFFFF
##B1313C1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F3B
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#C20336
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1313c;
/* rgb */ color: rgb(177, 49, 60);
/* oklch */ color: oklch(51.2% 0.164 20.6);
Tailwind
colors: {
  custom: {
    50: '#d07371',
    500: '#b1313c',
    950: '#000000',
  },
}
SCSS
$custom: #b1313c;
$custom-light: #d07371;
$custom-dark: #000000;
JSON
{
  "hex": "#b1313c",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 354.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.1638,
    "h": 20.6
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#B1313C
secondary
#79C5BE
accent
#E0D348
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B1313C

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

Preview Lab → · Contrast checker → · Palette generator →

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