#B4177F#B4177F

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

Color values

HEX#B4177F
RGBrgb(180, 23, 127)
HSLhsl(320, 77%, 40%)
HSVhsv(320, 87%, 71%)
CMYKcmyk(0%, 87.2%, 29.4%, 29.4%)
CIE-LABlab(40.98, 65.80, -17.59)
CIE-LCHlch(40.98, 68.11, 345.03°)
OKLaboklab(51.87% 0.2011 -0.0466)
OKLCHoklch(51.87% 0.206 347)
XYZxyz(22.9608, 11.8512, 21.1529)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4177F #17B44C
analogous
#9B17B4 #B4177F #B41730
triadic
#B4177F #7FB417 #177FB4
tetradic
#B4177F #B49B17 #17B44C #1730B4
square
#B4177F #B49B17 #17B44C #1730B4
split-complementary
#B4177F #30B417 #17B49B
monochromatic
#470932 #7E1059 #B4177F #E325A3 #EA5BBA

Accessibility & contrast

On white

6.23
#B4177F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B4177F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4177F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4177F#FFFFFF#000000##FFFFFF
##B4177F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#C10C4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4177f;
/* rgb */ color: rgb(180, 23, 127);
/* oklch */ color: oklch(51.9% 0.206 347.0);
Tailwind
colors: {
  custom: {
    50: '#cf6ca4',
    500: '#b4177f',
    950: '#000000',
  },
}
SCSS
$custom: #b4177f;
$custom-light: #cf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4177f",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 320.255,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.20639,
    "h": 347
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#B4177F
secondary
#59CE80
accent
#F47534
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B4177F

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

Preview Lab → · Contrast checker → · Palette generator →

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