#B4174A#B4174A

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

Color values

HEX#B4174A
RGBrgb(180, 23, 74)
HSLhsl(341, 77%, 40%)
HSVhsv(341, 87%, 71%)
CMYKcmyk(0%, 87.2%, 58.9%, 29.4%)
CIE-LABlab(39.26, 60.99, 13.33)
CIE-LCHlch(39.26, 62.43, 12.33°)
OKLaboklab(50.07% 0.185 0.0333)
OKLCHoklch(50.07% 0.188 10.2)
XYZxyz(20.3669, 10.8136, 7.4921)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4174A #17B481
analogous
#B41798 #B4174A #B43317
triadic
#B4174A #4AB417 #174AB4
tetradic
#B4174A #98B417 #17B481 #3317B4
square
#B4174A #98B417 #17B481 #3317B4
split-complementary
#B4174A #17B433 #1798B4
monochromatic
#47091D #7E1034 #B4174A #E32563 #EA5B8A

Accessibility & contrast

On white

6.64
#B4174A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B4174A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4174A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4174A#FFFFFF#000000##FFFFFF
##B4174A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494B
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#C5002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b4174a;
/* rgb */ color: rgb(180, 23, 74);
/* oklch */ color: oklch(50.1% 0.188 10.2);
Tailwind
colors: {
  custom: {
    50: '#d26a7c',
    500: '#b4174a',
    950: '#000000',
  },
}
SCSS
$custom: #b4174a;
$custom-light: #d26a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4174a",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 340.51,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.18793,
    "h": 10.2
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#B4174A
secondary
#59CEA8
accent
#F4B634
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B4174A

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

Preview Lab → · Contrast checker → · Palette generator →

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