#B3312C#B3312C

#B3312C is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.168 H 27.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B3312C
RGBrgb(179, 49, 44)
HSLhsl(2, 61%, 44%)
HSVhsv(2, 75%, 70%)
CMYKcmyk(0%, 72.6%, 75.4%, 29.8%)
CIE-LABlab(41.16, 51.73, 34.18)
CIE-LCHlch(41.16, 62.00, 33.45°)
OKLaboklab(51.27% 0.1492 0.0764)
OKLCHoklch(51.27% 0.168 27.1)
XYZxyz(20.1457, 11.9653, 3.6311)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3312C #2CAEB3
analogous
#B32C6A #B3312C #B3742C
triadic
#B3312C #2CB331 #312CB3
tetradic
#B3312C #6AB32C #2CAEB3 #742CB3
square
#B3312C #6AB32C #2CAEB3 #742CB3
split-complementary
#B3312C #2CB374 #2C6AB3
monochromatic
#511614 #822420 #B3312C #D24F4A #DF7F7B

Accessibility & contrast

On white

6.19
#B3312C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3312C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3312C#FFFFFF#000000##FFFFFF
##B3312C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3312c;
/* rgb */ color: rgb(179, 49, 44);
/* oklch */ color: oklch(51.3% 0.168 27.1);
Tailwind
colors: {
  custom: {
    50: '#d27266',
    500: '#b3312c',
    950: '#000000',
  },
}
SCSS
$custom: #b3312c;
$custom-light: #d27266;
$custom-dark: #000000;
JSON
{
  "hex": "#b3312c",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.16759,
    "h": 27.1
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#B3312C
secondary
#74C4C7
accent
#DEE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B3312C

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

Preview Lab → · Contrast checker → · Palette generator →

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