#B4174D#B4174D

#B4174D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.188 H 8.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B4174D
RGBrgb(180, 23, 77)
HSLhsl(339, 77%, 40%)
HSVhsv(339, 87%, 71%)
CMYKcmyk(0%, 87.2%, 57.2%, 29.4%)
CIE-LABlab(39.34, 61.20, 11.51)
CIE-LCHlch(39.34, 62.27, 10.65°)
OKLaboklab(50.14% 0.1861 0.029)
OKLCHoklch(50.14% 0.188 8.9)
XYZxyz(20.4704, 10.8550, 8.0371)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4174D #17B47E
analogous
#B4179C #B4174D #B42F17
triadic
#B4174D #4DB417 #174DB4
tetradic
#B4174D #9CB417 #17B47E #2F17B4
square
#B4174D #9CB417 #17B47E #2F17B4
split-complementary
#B4174D #17B42F #179CB4
monochromatic
#47091F #7E1036 #B4174D #E32566 #EA5B8C

Accessibility & contrast

On white

6.62
#B4174D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B4174D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4174D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4174D#FFFFFF#000000##FFFFFF
##B4174D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4174d;
/* rgb */ color: rgb(180, 23, 77);
/* oklch */ color: oklch(50.1% 0.188 8.9);
Tailwind
colors: {
  custom: {
    50: '#d26a7e',
    500: '#b4174d',
    950: '#000000',
  },
}
SCSS
$custom: #b4174d;
$custom-light: #d26a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4174d",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 339.363,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.18838,
    "h": 8.9
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#B4174D
secondary
#59CEA6
accent
#F4B234
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B4174D

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

Preview Lab → · Contrast checker → · Palette generator →

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