#B4174E#B4174E

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

Color values

HEX#B4174E
RGBrgb(180, 23, 78)
HSLhsl(339, 77%, 40%)
HSVhsv(339, 87%, 71%)
CMYKcmyk(0%, 87.2%, 56.7%, 29.4%)
CIE-LABlab(39.36, 61.26, 10.90)
CIE-LCHlch(39.36, 62.23, 10.09°)
OKLaboklab(50.17% 0.1865 0.0276)
OKLCHoklch(50.17% 0.189 8.4)
XYZxyz(20.5060, 10.8692, 8.2245)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4174E #17B47D
analogous
#B4179D #B4174E #B42F17
triadic
#B4174E #4EB417 #174EB4
tetradic
#B4174E #9DB417 #17B47D #2F17B4
square
#B4174E #9DB417 #17B47D #2F17B4
split-complementary
#B4174E #17B42F #179DB4
monochromatic
#47091F #7E1036 #B4174E #E32568 #EA5B8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4174E#FFFFFF#000000##FFFFFF
##B4174E1.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)
#47494F
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4174e;
/* rgb */ color: rgb(180, 23, 78);
/* oklch */ color: oklch(50.2% 0.189 8.4);
Tailwind
colors: {
  custom: {
    50: '#d26a7f',
    500: '#b4174e',
    950: '#000000',
  },
}
SCSS
$custom: #b4174e;
$custom-light: #d26a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4174e",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 338.981,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.18854,
    "h": 8.4
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#B4174E
secondary
#59CEA5
accent
#F4B134
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B4174E

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

Preview Lab → · Contrast checker → · Palette generator →

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