#B4173E#B4173E

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

Color values

HEX#B4173E
RGBrgb(180, 23, 62)
HSLhsl(345, 77%, 40%)
HSVhsv(345, 87%, 71%)
CMYKcmyk(0%, 87.2%, 65.6%, 29.4%)
CIE-LABlab(39.01, 60.27, 20.64)
CIE-LCHlch(39.01, 63.71, 18.91°)
OKLaboklab(49.8% 0.1803 0.0494)
OKLCHoklch(49.8% 0.187 15.3)
XYZxyz(20.0005, 10.6671, 5.5623)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4173E #17B48D
analogous
#B4178C #B4173E #B43F17
triadic
#B4173E #3EB417 #173EB4
tetradic
#B4173E #8CB417 #17B48D #3F17B4
square
#B4173E #8CB417 #17B48D #3F17B4
split-complementary
#B4173E #17B43F #178CB4
monochromatic
#470919 #7E102B #B4173E #E32554 #EA5B7F

Accessibility & contrast

On white

6.70
#B4173E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4173E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4173E#FFFFFF#000000##FFFFFF
##B4173E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473E
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#C6002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4173e;
/* rgb */ color: rgb(180, 23, 62);
/* oklch */ color: oklch(49.8% 0.187 15.3);
Tailwind
colors: {
  custom: {
    50: '#d36a72',
    500: '#b4173e',
    950: '#000000',
  },
}
SCSS
$custom: #b4173e;
$custom-light: #d36a72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4173e",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 345.096,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.18692,
    "h": 15.3
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#B4173E
secondary
#59CEB1
accent
#F4C434
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160708
muted
#847A7B

Preview Lab

Preview with #B4173E

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

Preview Lab → · Contrast checker → · Palette generator →

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