#B4174B#B4174B

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

Color values

HEX#B4174B
RGBrgb(180, 23, 75)
HSLhsl(340, 77%, 40%)
HSVhsv(340, 87%, 71%)
CMYKcmyk(0%, 87.2%, 58.3%, 29.4%)
CIE-LABlab(39.29, 61.06, 12.72)
CIE-LCHlch(39.29, 62.37, 11.77°)
OKLaboklab(50.09% 0.1854 0.0319)
OKLCHoklch(50.09% 0.188 9.7)
XYZxyz(20.4009, 10.8272, 7.6709)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4174B #17B480
analogous
#B4179A #B4174B #B43117
triadic
#B4174B #4BB417 #174BB4
tetradic
#B4174B #9AB417 #17B480 #3117B4
square
#B4174B #9AB417 #17B480 #3117B4
split-complementary
#B4174B #17B431 #179AB4
monochromatic
#47091E #7E1034 #B4174B #E32564 #EA5B8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4174B#FFFFFF#000000##FFFFFF
##B4174B1.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)
#48494C
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C50030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4174b;
/* rgb */ color: rgb(180, 23, 75);
/* oklch */ color: oklch(50.1% 0.188 9.7);
Tailwind
colors: {
  custom: {
    50: '#d26a7c',
    500: '#b4174b',
    950: '#000000',
  },
}
SCSS
$custom: #b4174b;
$custom-light: #d26a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4174b",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 340.127,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.18808,
    "h": 9.7
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#B4174B
secondary
#59CEA7
accent
#F4B434
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B4174B

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

Preview Lab → · Contrast checker → · Palette generator →

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