#B4173C#B4173C

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

Color values

HEX#B4173C
RGBrgb(180, 23, 60)
HSLhsl(346, 77%, 40%)
HSVhsv(346, 87%, 71%)
CMYKcmyk(0%, 87.2%, 66.7%, 29.4%)
CIE-LABlab(38.98, 60.16, 21.86)
CIE-LCHlch(38.98, 64.01, 19.97°)
OKLaboklab(49.76% 0.1795 0.052)
OKLCHoklch(49.76% 0.187 16.1)
XYZxyz(19.9467, 10.6455, 5.2786)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4173C #17B48F
analogous
#B4178A #B4173C #B44117
triadic
#B4173C #3CB417 #173CB4
tetradic
#B4173C #8AB417 #17B48F #4117B4
square
#B4173C #8AB417 #17B48F #4117B4
split-complementary
#B4173C #17B441 #178AB4
monochromatic
#470918 #7E102A #B4173C #E32552 #EA5B7D

Accessibility & contrast

On white

6.71
#B4173C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4173C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4173C#FFFFFF#000000##FFFFFF
##B4173C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473C
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#C60029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4173c;
/* rgb */ color: rgb(180, 23, 60);
/* oklch */ color: oklch(49.8% 0.187 16.1);
Tailwind
colors: {
  custom: {
    50: '#d36971',
    500: '#b4173c',
    950: '#000000',
  },
}
SCSS
$custom: #b4173c;
$custom-light: #d36971;
$custom-dark: #000000;
JSON
{
  "hex": "#b4173c",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 345.86,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.18685,
    "h": 16.1
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#B4173C
secondary
#59CEB2
accent
#F4C734
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160707
muted
#847A7A

Preview Lab

Preview with #B4173C

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

Preview Lab → · Contrast checker → · Palette generator →

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