#B13171#B13171

#B13171 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.174 H 354.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B13171
RGBrgb(177, 49, 113)
HSLhsl(330, 57%, 44%)
HSVhsv(330, 72%, 69%)
CMYKcmyk(0%, 72.3%, 36.2%, 30.6%)
CIE-LABlab(42.37, 56.40, -6.87)
CIE-LCHlch(42.37, 56.81, 353.06°)
OKLaboklab(52.61% 0.1728 -0.0174)
OKLCHoklch(52.61% 0.174 354.2)
XYZxyz(22.2118, 12.7386, 16.9087)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13171 #31B171
analogous
#B131B1 #B13171 #B13131
triadic
#B13171 #71B131 #3171B1
tetradic
#B13171 #B1B131 #31B171 #3131B1
square
#B13171 #B1B131 #31B171 #3131B1
split-complementary
#B13171 #31B131 #31B1B1
monochromatic
#511634 #812452 #B13171 #CF5190 #DC80AE

Accessibility & contrast

On white

5.92
#B13171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B13171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13171
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13171#FFFFFF#000000##FFFFFF
##B131711.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#6C6D6E
Tritanopia (blue-blind)
#BF254D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b13171;
/* rgb */ color: rgb(177, 49, 113);
/* oklch */ color: oklch(52.6% 0.174 354.2);
Tailwind
colors: {
  custom: {
    50: '#cd7499',
    500: '#b13171',
    950: '#000000',
  },
}
SCSS
$custom: #b13171;
$custom-light: #cd7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b13171",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.17372,
    "h": 354.2
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#B13171
secondary
#79C59F
accent
#E09448
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13171

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

Preview Lab → · Contrast checker → · Palette generator →

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