#B3313B#B3313B

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

Color values

HEX#B3313B
RGBrgb(179, 49, 59)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 70%)
CMYKcmyk(0%, 72.6%, 67%, 29.8%)
CIE-LABlab(41.37, 52.46, 25.47)
CIE-LCHlch(41.37, 58.31, 25.89°)
OKLaboklab(51.49% 0.1547 0.06)
OKLCHoklch(51.49% 0.166 21.2)
XYZxyz(20.4803, 12.0991, 5.3938)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313B #31B3A9
analogous
#B3317C #B3313B #B36831
triadic
#B3313B #3BB331 #313BB3
tetradic
#B3313B #7CB331 #31B3A9 #6831B3
square
#B3313B #7CB331 #31B3A9 #6831B3
split-complementary
#B3313B #31B368 #317CB3
monochromatic
#53171B #83242B #B3313B #D0525B #DD8289

Accessibility & contrast

On white

6.14
#B3313B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3313B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3313B#FFFFFF#000000##FFFFFF
##B3313B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56503A
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313b;
/* rgb */ color: rgb(179, 49, 59);
/* oklch */ color: oklch(51.5% 0.166 21.2);
Tailwind
colors: {
  custom: {
    50: '#d17371',
    500: '#b3313b',
    950: '#000000',
  },
}
SCSS
$custom: #b3313b;
$custom-light: #d17371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313b",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.16592,
    "h": 21.2
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#B3313B
secondary
#7AC6C0
accent
#E0D548
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B3313B

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

Preview Lab → · Contrast checker → · Palette generator →

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