#B4173B#B4173B

#B4173B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.7% C 0.187 H 16.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B4173B
RGBrgb(180, 23, 59)
HSLhsl(346, 77%, 40%)
HSVhsv(346, 87%, 71%)
CMYKcmyk(0%, 87.2%, 67.2%, 29.4%)
CIE-LABlab(38.96, 60.11, 22.47)
CIE-LCHlch(38.96, 64.17, 20.50°)
OKLaboklab(49.74% 0.1791 0.0532)
OKLCHoklch(49.74% 0.187 16.6)
XYZxyz(19.9205, 10.6350, 5.1407)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4173B #17B490
analogous
#B4178A #B4173B #B44117
triadic
#B4173B #3BB417 #173BB4
tetradic
#B4173B #8AB417 #17B490 #4117B4
square
#B4173B #8AB417 #17B490 #4117B4
split-complementary
#B4173B #17B441 #178AB4
monochromatic
#470917 #7E1029 #B4173B #E32551 #EA5B7C

Accessibility & contrast

On white

6.72
#B4173B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B4173B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4173B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4173B#FFFFFF#000000##FFFFFF
##B4173B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B473B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#C60028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4173b;
/* rgb */ color: rgb(180, 23, 59);
/* oklch */ color: oklch(49.7% 0.187 16.6);
Tailwind
colors: {
  custom: {
    50: '#d36970',
    500: '#b4173b',
    950: '#000000',
  },
}
SCSS
$custom: #b4173b;
$custom-light: #d36970;
$custom-dark: #000000;
JSON
{
  "hex": "#b4173b",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 346.242,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.18683,
    "h": 16.6
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#B4173B
secondary
#59CEB3
accent
#F4C834
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160707
muted
#847A7A

Preview Lab

Preview with #B4173B

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

Preview Lab → · Contrast checker → · Palette generator →

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