#B3313E#B3313E

#B3313E is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.166 H 19.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B3313E
RGBrgb(179, 49, 62)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 70%)
CMYKcmyk(0%, 72.6%, 65.4%, 29.8%)
CIE-LABlab(41.42, 52.63, 23.69)
CIE-LCHlch(41.42, 57.72, 24.23°)
OKLaboklab(51.55% 0.1559 0.0564)
OKLCHoklch(51.55% 0.166 19.9)
XYZxyz(20.5604, 12.1312, 5.8154)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313E #31B3A6
analogous
#B3317F #B3313E #B36531
triadic
#B3313E #3EB331 #313EB3
tetradic
#B3313E #7FB331 #31B3A6 #6531B3
square
#B3313E #7FB331 #31B3A6 #6531B3
split-complementary
#B3313E #31B365 #317FB3
monochromatic
#53171D #83242D #B3313E #D0525E #DD828B

Accessibility & contrast

On white

6.13
#B3313E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B3313E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3313E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3313E#FFFFFF#000000##FFFFFF
##B3313E1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503E
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#C40137
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313e;
/* rgb */ color: rgb(179, 49, 62);
/* oklch */ color: oklch(51.5% 0.166 19.9);
Tailwind
colors: {
  custom: {
    50: '#d17373',
    500: '#b3313e',
    950: '#000000',
  },
}
SCSS
$custom: #b3313e;
$custom-light: #d17373;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 354,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.16574,
    "h": 19.9
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#B3313E
secondary
#7AC6BE
accent
#E0D148
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B3313E

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

Preview Lab → · Contrast checker → · Palette generator →

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