#B4173F#B4173F

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

Color values

HEX#B4173F
RGBrgb(180, 23, 63)
HSLhsl(345, 77%, 40%)
HSVhsv(345, 87%, 71%)
CMYKcmyk(0%, 87.2%, 65%, 29.4%)
CIE-LABlab(39.03, 60.32, 20.03)
CIE-LCHlch(39.03, 63.56, 18.37°)
OKLaboklab(49.82% 0.1807 0.0481)
OKLCHoklch(49.82% 0.187 14.9)
XYZxyz(20.0282, 10.6781, 5.7082)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4173F #17B48C
analogous
#B4178E #B4173F #B43D17
triadic
#B4173F #3FB417 #173FB4
tetradic
#B4173F #8EB417 #17B48C #3D17B4
square
#B4173F #8EB417 #17B48C #3D17B4
split-complementary
#B4173F #17B43D #178EB4
monochromatic
#470919 #7E102C #B4173F #E32555 #EA5B80

Accessibility & contrast

On white

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

On black

3.14
#B4173F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4173F#FFFFFF#000000##FFFFFF
##B4173F1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4173f;
/* rgb */ color: rgb(180, 23, 63);
/* oklch */ color: oklch(49.8% 0.187 14.9);
Tailwind
colors: {
  custom: {
    50: '#d36a73',
    500: '#b4173f',
    950: '#000000',
  },
}
SCSS
$custom: #b4173f;
$custom-light: #d36a73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4173f",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 344.713,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.18696,
    "h": 14.9
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#B4173F
secondary
#59CEB0
accent
#F4C334
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160708
muted
#847A7B

Preview Lab

Preview with #B4173F

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

Preview Lab → · Contrast checker → · Palette generator →

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