#B4173A#B4173A

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

Color values

HEX#B4173A
RGBrgb(180, 23, 58)
HSLhsl(347, 77%, 40%)
HSVhsv(347, 87%, 71%)
CMYKcmyk(0%, 87.2%, 67.8%, 29.4%)
CIE-LABlab(38.94, 60.06, 23.08)
CIE-LCHlch(38.94, 64.34, 21.02°)
OKLaboklab(49.72% 0.1787 0.0545)
OKLCHoklch(49.72% 0.187 17)
XYZxyz(19.8948, 10.6248, 5.0054)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4173A #17B491
analogous
#B41789 #B4173A #B44217
triadic
#B4173A #3AB417 #173AB4
tetradic
#B4173A #89B417 #17B491 #4217B4
square
#B4173A #89B417 #17B491 #4217B4
split-complementary
#B4173A #17B442 #1789B4
monochromatic
#470917 #7E1029 #B4173A #E3254F #EA5B7B

Accessibility & contrast

On white

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

On black

3.12
#B4173A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4173A#FFFFFF#000000##FFFFFF
##B4173A1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4173a;
/* rgb */ color: rgb(180, 23, 58);
/* oklch */ color: oklch(49.7% 0.187 17.0);
Tailwind
colors: {
  custom: {
    50: '#d3696f',
    500: '#b4173a',
    950: '#000000',
  },
}
SCSS
$custom: #b4173a;
$custom-light: #d3696f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4173a",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 346.624,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.18682,
    "h": 17
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#B4173A
secondary
#59CEB4
accent
#F4C934
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160707
muted
#847A7A

Preview Lab

Preview with #B4173A

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

Preview Lab → · Contrast checker → · Palette generator →

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