#B3312F#B3312F

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

Color values

HEX#B3312F
RGBrgb(179, 49, 47)
HSLhsl(1, 58%, 44%)
HSVhsv(1, 74%, 70%)
CMYKcmyk(0%, 72.6%, 73.7%, 29.8%)
CIE-LABlab(41.20, 51.86, 32.47)
CIE-LCHlch(41.20, 61.19, 32.05°)
OKLaboklab(51.31% 0.1502 0.0734)
OKLCHoklch(51.31% 0.167 26)
XYZxyz(20.2041, 11.9886, 3.9390)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3312F #2FB1B3
analogous
#B32F6F #B3312F #B3732F
triadic
#B3312F #2FB331 #312FB3
tetradic
#B3312F #6FB32F #2FB1B3 #732FB3
square
#B3312F #6FB32F #2FB1B3 #732FB3
split-complementary
#B3312F #2FB373 #2F6FB3
monochromatic
#521616 #832422 #B3312F #D1514F #DD807F

Accessibility & contrast

On white

6.18
#B3312F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B3312F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3312F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3312F#FFFFFF#000000##FFFFFF
##B3312F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2D
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3312f;
/* rgb */ color: rgb(179, 49, 47);
/* oklch */ color: oklch(51.3% 0.167 26.0);
Tailwind
colors: {
  custom: {
    50: '#d27368',
    500: '#b3312f',
    950: '#000000',
  },
}
SCSS
$custom: #b3312f;
$custom-light: #d27368;
$custom-dark: #000000;
JSON
{
  "hex": "#b3312f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.16718,
    "h": 26
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#B3312F
secondary
#78C5C6
accent
#DFE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B3312F

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

Preview Lab → · Contrast checker → · Palette generator →

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