#B3313D#B3313D

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

Color values

HEX#B3313D
RGBrgb(179, 49, 61)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 70%)
CMYKcmyk(0%, 72.6%, 65.9%, 29.8%)
CIE-LABlab(41.41, 52.57, 24.28)
CIE-LCHlch(41.41, 57.91, 24.79°)
OKLaboklab(51.53% 0.1555 0.0576)
OKLCHoklch(51.53% 0.166 20.3)
XYZxyz(20.5332, 12.1203, 5.6722)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313D #31B3A7
analogous
#B3317E #B3313D #B36631
triadic
#B3313D #3DB331 #313DB3
tetradic
#B3313D #7EB331 #31B3A7 #6631B3
square
#B3313D #7EB331 #31B3A7 #6631B3
split-complementary
#B3313D #31B366 #317EB3
monochromatic
#53171C #83242D #B3313D #D0525D #DD828A

Accessibility & contrast

On white

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

On black

3.42
#B3313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3313D#FFFFFF#000000##FFFFFF
##B3313D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503C
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313d;
/* rgb */ color: rgb(179, 49, 61);
/* oklch */ color: oklch(51.5% 0.166 20.3);
Tailwind
colors: {
  custom: {
    50: '#d17372',
    500: '#b3313d',
    950: '#000000',
  },
}
SCSS
$custom: #b3313d;
$custom-light: #d17372;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313d",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.1658,
    "h": 20.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#B3313D
secondary
#7AC6BF
accent
#E0D248
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B3313D

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

Preview Lab → · Contrast checker → · Palette generator →

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