#B4177D#B4177D

#B4177D is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 347.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B4177D
RGBrgb(180, 23, 125)
HSLhsl(321, 77%, 40%)
HSVhsv(321, 87%, 71%)
CMYKcmyk(0%, 87.2%, 30.6%, 29.4%)
CIE-LABlab(40.90, 65.58, -16.48)
CIE-LCHlch(40.90, 67.62, 345.89°)
OKLaboklab(51.78% 0.2007 -0.0435)
OKLCHoklch(51.78% 0.205 347.8)
XYZxyz(22.8317, 11.7995, 20.4733)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4177D #17B44E
analogous
#9D17B4 #B4177D #B4172F
triadic
#B4177D #7DB417 #177DB4
tetradic
#B4177D #B49D17 #17B44E #172FB4
square
#B4177D #B49D17 #17B44E #172FB4
split-complementary
#B4177D #2FB417 #17B49D
monochromatic
#470932 #7E1057 #B4177D #E325A1 #EA5BB8

Accessibility & contrast

On white

6.25
#B4177D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B4177D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4177D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4177D#FFFFFF#000000##FFFFFF
##B4177D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#C1084B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4177d;
/* rgb */ color: rgb(180, 23, 125);
/* oklch */ color: oklch(51.8% 0.205 347.8);
Tailwind
colors: {
  custom: {
    50: '#d06ca2',
    500: '#b4177d',
    950: '#000000',
  },
}
SCSS
$custom: #b4177d;
$custom-light: #d06ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4177d",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 321.019,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.20534,
    "h": 347.8
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#B4177D
secondary
#59CE82
accent
#F47734
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4177D

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

Preview Lab → · Contrast checker → · Palette generator →

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