#B4172E#B4172E

#B4172E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.187 H 21.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B4172E
RGBrgb(180, 23, 46)
HSLhsl(351, 77%, 40%)
HSVhsv(351, 87%, 71%)
CMYKcmyk(0%, 87.2%, 74.4%, 29.4%)
CIE-LABlab(38.75, 59.51, 30.33)
CIE-LCHlch(38.75, 66.79, 27.00°)
OKLaboklab(49.52% 0.1742 0.0684)
OKLCHoklch(49.52% 0.187 21.4)
XYZxyz(19.6243, 10.5166, 3.5809)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4172E #17B49D
analogous
#B4177D #B4172E #B44E17
triadic
#B4172E #2EB417 #172EB4
tetradic
#B4172E #7DB417 #17B49D #4E17B4
square
#B4172E #7DB417 #17B49D #4E17B4
split-complementary
#B4172E #17B44E #177DB4
monochromatic
#470912 #7E1020 #B4172E #E32541 #EA5B70

Accessibility & contrast

On white

6.77
#B4172E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B4172E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4172E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4172E#FFFFFF#000000##FFFFFF
##B4172E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C60022
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b4172e;
/* rgb */ color: rgb(180, 23, 46);
/* oklch */ color: oklch(49.5% 0.187 21.4);
Tailwind
colors: {
  custom: {
    50: '#d46966',
    500: '#b4172e',
    950: '#000000',
  },
}
SCSS
$custom: #b4172e;
$custom-light: #d46966;
$custom-dark: #000000;
JSON
{
  "hex": "#b4172e",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 351.21,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.18713,
    "h": 21.4
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#B4172E
secondary
#59CEBD
accent
#F4D834
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160706
muted
#847A7A

Preview Lab

Preview with #B4172E

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

Preview Lab → · Contrast checker → · Palette generator →

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