#B32117#B32117

#B32117 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.183 H 29.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B32117
RGBrgb(179, 33, 23)
HSLhsl(4, 77%, 40%)
HSVhsv(4, 87%, 70%)
CMYKcmyk(0%, 81.6%, 87.2%, 29.8%)
CIE-LABlab(39.13, 56.20, 43.48)
CIE-LCHlch(39.13, 71.06, 37.73°)
OKLaboklab(49.7% 0.1591 0.0895)
OKLCHoklch(49.7% 0.183 29.4)
XYZxyz(19.2914, 10.7365, 1.8671)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32117 #17A9B3
analogous
#B3175B #B32117 #B36F17
triadic
#B32117 #17B321 #2117B3
tetradic
#B32117 #5BB317 #17A9B3 #6F17B3
square
#B32117 #5BB317 #17A9B3 #6F17B3
split-complementary
#B32117 #17B36F #175BB3
monochromatic
#470D09 #7D1710 #B32117 #E33124 #EA645B

Accessibility & contrast

On white

6.67
#B32117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B32117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32117
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32117#FFFFFF#000000##FFFFFF
##B321171.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#75670C
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b32117;
/* rgb */ color: rgb(179, 33, 23);
/* oklch */ color: oklch(49.7% 0.183 29.4);
Tailwind
colors: {
  custom: {
    50: '#d46c57',
    500: '#b32117',
    950: '#000000',
  },
}
SCSS
$custom: #b32117;
$custom-light: #d46c57;
$custom-dark: #000000;
JSON
{
  "hex": "#b32117",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 3.846,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.18252,
    "h": 29.4
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#B32117
secondary
#58C6CD
accent
#E7F434
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #B32117

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

Preview Lab → · Contrast checker → · Palette generator →

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