#B83171#B83171

#B83171 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.179 H 356.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B83171
RGBrgb(184, 49, 113)
HSLhsl(332, 58%, 46%)
HSVhsv(332, 73%, 72%)
CMYKcmyk(0%, 73.4%, 38.6%, 27.8%)
CIE-LABlab(43.63, 58.34, -4.86)
CIE-LCHlch(43.63, 58.55, 355.24°)
OKLaboklab(53.76% 0.179 -0.012)
OKLCHoklch(53.76% 0.179 356.1)
XYZxyz(23.8477, 13.5822, 16.9854)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B83171 #31B878
analogous
#B831B4 #B83171 #B83531
triadic
#B83171 #71B831 #3171B8
tetradic
#B83171 #B4B831 #31B878 #3531B8
square
#B83171 #B4B831 #31B878 #3531B8
split-complementary
#B83171 #31B835 #31B4B8
monochromatic
#571736 #882453 #B83171 #D25590 #DE85AF

Accessibility & contrast

On white

5.65
#B83171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B83171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B83171
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B83171#FFFFFF#000000##FFFFFF
##B831711.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5773
Deuteranopia (green-blind)
#71706E
Tritanopia (blue-blind)
#C7214D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b83171;
/* rgb */ color: rgb(184, 49, 113);
/* oklch */ color: oklch(53.8% 0.179 356.1);
Tailwind
colors: {
  custom: {
    50: '#d27599',
    500: '#b83171',
    950: '#000000',
  },
}
SCSS
$custom: #b83171;
$custom-light: #d27599;
$custom-dark: #000000;
JSON
{
  "hex": "#b83171",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 331.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.17946,
    "h": 356.1
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#B83171
secondary
#7DC8A4
accent
#E19847
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B83171

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

Preview Lab → · Contrast checker → · Palette generator →

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