#B43171#B43171

#B43171 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.176 H 355.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B43171
RGBrgb(180, 49, 113)
HSLhsl(331, 57%, 45%)
HSVhsv(331, 73%, 71%)
CMYKcmyk(0%, 72.8%, 37.2%, 29.4%)
CIE-LABlab(42.91, 57.23, -6.01)
CIE-LCHlch(42.91, 57.55, 354.01°)
OKLaboklab(53.1% 0.1755 -0.0151)
OKLCHoklch(53.1% 0.176 355.1)
XYZxyz(22.9028, 13.0949, 16.9411)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B43171 #31B474
analogous
#B431B2 #B43171 #B43331
triadic
#B43171 #71B431 #3171B4
tetradic
#B43171 #B2B431 #31B474 #3331B4
square
#B43171 #B2B431 #31B474 #3331B4
split-complementary
#B43171 #31B433 #31B2B4
monochromatic
#541735 #842453 #B43171 #D05290 #DD82AF

Accessibility & contrast

On white

5.80
#B43171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B43171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B43171
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B43171#FFFFFF#000000##FFFFFF
##B431711.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#C2234D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b43171;
/* rgb */ color: rgb(180, 49, 113);
/* oklch */ color: oklch(53.1% 0.176 355.1);
Tailwind
colors: {
  custom: {
    50: '#cf7499',
    500: '#b43171',
    950: '#000000',
  },
}
SCSS
$custom: #b43171;
$custom-light: #cf7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b43171",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 330.687,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.17618,
    "h": 355.1
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#B43171
secondary
#7BC6A1
accent
#E09647
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B43171

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

Preview Lab → · Contrast checker → · Palette generator →

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