#B3313A#B3313A

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

Color values

HEX#B3313A
RGBrgb(179, 49, 58)
HSLhsl(356, 57%, 45%)
HSVhsv(356, 73%, 70%)
CMYKcmyk(0%, 72.6%, 67.6%, 29.8%)
CIE-LABlab(41.36, 52.40, 26.06)
CIE-LCHlch(41.36, 58.52, 26.44°)
OKLaboklab(51.48% 0.1543 0.0612)
OKLCHoklch(51.48% 0.166 21.6)
XYZxyz(20.4546, 12.0889, 5.2585)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313A #31B3AA
analogous
#B3317B #B3313A #B36931
triadic
#B3313A #3AB331 #313AB3
tetradic
#B3313A #7BB331 #31B3AA #6931B3
square
#B3313A #7BB331 #31B3AA #6931B3
split-complementary
#B3313A #31B369 #317BB3
monochromatic
#53171B #83242A #B3313A #D0525A #DD8288

Accessibility & contrast

On white

6.15
#B3313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3313A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3313A#FFFFFF#000000##FFFFFF
##B3313A1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565039
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313a;
/* rgb */ color: rgb(179, 49, 58);
/* oklch */ color: oklch(51.5% 0.166 21.6);
Tailwind
colors: {
  custom: {
    50: '#d17370',
    500: '#b3313a',
    950: '#000000',
  },
}
SCSS
$custom: #b3313a;
$custom-light: #d17370;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16599,
    "h": 21.6
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#B3313A
secondary
#7AC6C1
accent
#E0D648
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B3313A

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

Preview Lab → · Contrast checker → · Palette generator →

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