#B4174C#B4174C

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

Color values

HEX#B4174C
RGBrgb(180, 23, 76)
HSLhsl(340, 77%, 40%)
HSVhsv(340, 87%, 71%)
CMYKcmyk(0%, 87.2%, 57.8%, 29.4%)
CIE-LABlab(39.31, 61.13, 12.12)
CIE-LCHlch(39.31, 62.32, 11.21°)
OKLaboklab(50.11% 0.1858 0.0304)
OKLCHoklch(50.11% 0.188 9.3)
XYZxyz(20.4354, 10.8410, 7.8526)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4174C #17B47F
analogous
#B4179B #B4174C #B43017
triadic
#B4174C #4CB417 #174CB4
tetradic
#B4174C #9BB417 #17B47F #3017B4
square
#B4174C #9BB417 #17B47F #3017B4
split-complementary
#B4174C #17B430 #179BB4
monochromatic
#47091E #7E1035 #B4174C #E32565 #EA5B8C

Accessibility & contrast

On white

6.63
#B4174C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4174C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4174C#FFFFFF#000000##FFFFFF
##B4174C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494D
Deuteranopia (green-blind)
#6F6748
Tritanopia (blue-blind)
#C50030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4174c;
/* rgb */ color: rgb(180, 23, 76);
/* oklch */ color: oklch(50.1% 0.188 9.3);
Tailwind
colors: {
  custom: {
    50: '#d26a7d',
    500: '#b4174c',
    950: '#000000',
  },
}
SCSS
$custom: #b4174c;
$custom-light: #d26a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4174c",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 339.745,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.18823,
    "h": 9.3
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4174C

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

Preview Lab → · Contrast checker → · Palette generator →

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