#B3312A#B3312A

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

Color values

HEX#B3312A
RGBrgb(179, 49, 42)
HSLhsl(3, 62%, 43%)
HSVhsv(3, 77%, 70%)
CMYKcmyk(0%, 72.6%, 76.5%, 29.8%)
CIE-LABlab(41.14, 51.65, 35.30)
CIE-LCHlch(41.14, 62.56, 34.35°)
OKLaboklab(51.24% 0.1485 0.0783)
OKLCHoklch(51.24% 0.168 27.8)
XYZxyz(20.1090, 11.9506, 3.4379)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3312A #2AACB3
analogous
#B32A67 #B3312A #B3752A
triadic
#B3312A #2AB331 #312AB3
tetradic
#B3312A #67B32A #2AACB3 #752AB3
square
#B3312A #67B32A #2AACB3 #752AB3
split-complementary
#B3312A #2AB375 #2A67B3
monochromatic
#501613 #81231E #B3312A #D44E46 #DF7D78

Accessibility & contrast

On white

6.20
#B3312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B3312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3312A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3312A#FFFFFF#000000##FFFFFF
##B3312A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3312a;
/* rgb */ color: rgb(179, 49, 42);
/* oklch */ color: oklch(51.2% 0.168 27.8);
Tailwind
colors: {
  custom: {
    50: '#d27264',
    500: '#b3312a',
    950: '#000000',
  },
}
SCSS
$custom: #b3312a;
$custom-light: #d27264;
$custom-dark: #000000;
JSON
{
  "hex": "#b3312a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.066,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.16787,
    "h": 27.8
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#B3312A
secondary
#72C3C7
accent
#DDE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B3312A

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

Preview Lab → · Contrast checker → · Palette generator →

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