#B4177E#B4177E

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

Color values

HEX#B4177E
RGBrgb(180, 23, 126)
HSLhsl(321, 77%, 40%)
HSVhsv(321, 87%, 71%)
CMYKcmyk(0%, 87.2%, 30%, 29.4%)
CIE-LABlab(40.94, 65.69, -17.04)
CIE-LCHlch(40.94, 67.86, 345.46°)
OKLaboklab(51.83% 0.2009 -0.045)
OKLCHoklch(51.83% 0.206 347.4)
XYZxyz(22.8959, 11.8252, 20.8114)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4177E #17B44D
analogous
#9C17B4 #B4177E #B4172F
triadic
#B4177E #7EB417 #177EB4
tetradic
#B4177E #B49C17 #17B44D #172FB4
square
#B4177E #B49C17 #17B44D #172FB4
split-complementary
#B4177E #2FB417 #17B49C
monochromatic
#470932 #7E1058 #B4177E #E325A2 #EA5BB9

Accessibility & contrast

On white

6.24
#B4177E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4177E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4177E#FFFFFF#000000##FFFFFF
##B4177E1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#C10A4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4177e;
/* rgb */ color: rgb(180, 23, 126);
/* oklch */ color: oklch(51.8% 0.206 347.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ca3',
    500: '#b4177e',
    950: '#000000',
  },
}
SCSS
$custom: #b4177e;
$custom-light: #cf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4177e",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 320.637,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.20586,
    "h": 347.4
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#B4177E
secondary
#59CE81
accent
#F47634
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4177E

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

Preview Lab → · Contrast checker → · Palette generator →

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