#B1313F#B1313F

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

Color values

HEX#B1313F
RGBrgb(177, 49, 63)
HSLhsl(353, 57%, 44%)
HSVhsv(353, 72%, 69%)
CMYKcmyk(0%, 72.3%, 64.4%, 30.6%)
CIE-LABlab(41.07, 52.06, 22.54)
CIE-LCHlch(41.07, 56.73, 23.41°)
OKLaboklab(51.22% 0.1545 0.0539)
OKLCHoklch(51.22% 0.164 19.2)
XYZxyz(20.1291, 11.9056, 5.9397)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1313F #31B1A3
analogous
#B1317F #B1313F #B16331
triadic
#B1313F #3FB131 #313FB1
tetradic
#B1313F #7FB131 #31B1A3 #6331B1
square
#B1313F #7FB131 #31B1A3 #6331B1
split-complementary
#B1313F #31B163 #317FB1
monochromatic
#51161D #81242E #B1313F #CF515E #DC808A

Accessibility & contrast

On white

6.21
#B1313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1313F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1313F#FFFFFF#000000##FFFFFF
##B1313F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54503F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#C20537
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1313f;
/* rgb */ color: rgb(177, 49, 63);
/* oklch */ color: oklch(51.2% 0.164 19.2);
Tailwind
colors: {
  custom: {
    50: '#cf7374',
    500: '#b1313f',
    950: '#000000',
  },
}
SCSS
$custom: #b1313f;
$custom-light: #cf7374;
$custom-dark: #000000;
JSON
{
  "hex": "#b1313f",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.16365,
    "h": 19.2
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#B1313F
secondary
#79C5BD
accent
#E0CF48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B1313F

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

Preview Lab → · Contrast checker → · Palette generator →

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