#B3331F#B3331F

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

Color values

HEX#B3331F
RGBrgb(179, 51, 31)
HSLhsl(8, 70%, 41%)
HSVhsv(8, 83%, 70%)
CMYKcmyk(0%, 71.5%, 82.7%, 29.8%)
CIE-LABlab(41.30, 50.53, 41.44)
CIE-LCHlch(41.30, 65.35, 39.36°)
OKLaboklab(51.33% 0.1428 0.0882)
OKLCHoklch(51.33% 0.168 31.7)
XYZxyz(20.0239, 12.0534, 2.5682)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3331F #1F9FB3
analogous
#B31F55 #B3331F #B37D1F
triadic
#B3331F #1FB333 #331FB3
tetradic
#B3331F #55B31F #1F9FB3 #7D1FB3
square
#B3331F #55B31F #1F9FB3 #7D1FB3
split-complementary
#B3331F #1FB37D #1F55B3
monochromatic
#4B150D #7F2416 #B3331F #DC4A33 #E57968

Accessibility & contrast

On white

6.16
#B3331F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B3331F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3331F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3331F#FFFFFF#000000##FFFFFF
##B3331F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1B
Deuteranopia (green-blind)
#796C18
Tritanopia (blue-blind)
#C50030
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3331f;
/* rgb */ color: rgb(179, 51, 31);
/* oklch */ color: oklch(51.3% 0.168 31.7);
Tailwind
colors: {
  custom: {
    50: '#d3735d',
    500: '#b3331f',
    950: '#000000',
  },
}
SCSS
$custom: #b3331f;
$custom-light: #d3735d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3331f",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 8.108,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51331,
    "c": 0.16787,
    "h": 31.7
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#B3331F
secondary
#64BCCA
accent
#D5ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160904
muted
#847B79

Preview Lab

Preview with #B3331F

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

Preview Lab → · Contrast checker → · Palette generator →

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