#B34871#B34871

#B34871 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.5% C 0.145 H 359.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B34871
RGBrgb(179, 72, 113)
HSLhsl(337, 43%, 49%)
HSVhsv(337, 60%, 70%)
CMYKcmyk(0%, 59.8%, 36.9%, 29.8%)
CIE-LABlab(46.20, 47.46, -1.17)
CIE-LCHlch(46.20, 47.48, 358.59°)
OKLaboklab(55.5% 0.1448 -0.0025)
OKLCHoklch(55.5% 0.145 359)
XYZxyz(23.8898, 15.4133, 17.3365)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34871 #48B38A
analogous
#B348A7 #B34871 #B35548
triadic
#B34871 #71B348 #4871B3
tetradic
#B34871 #A7B348 #48B38A #5548B3
square
#B34871 #A7B348 #48B38A #5548B3
split-complementary
#B34871 #48B355 #48A7B3
monochromatic
#5C253A #873655 #B34871 #C67292 #D89EB4

Accessibility & contrast

On white

5.14
#B34871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B34871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34871
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34871#FFFFFF#000000##FFFFFF
##B348711.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#C13F58
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b34871;
/* rgb */ color: rgb(179, 72, 113);
/* oklch */ color: oklch(55.5% 0.145 359.0);
Tailwind
colors: {
  custom: {
    50: '#cd8099',
    500: '#b34871',
    950: '#000000',
  },
}
SCSS
$custom: #b34871;
$custom-light: #cd8099;
$custom-dark: #000000;
JSON
{
  "hex": "#b34871",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 337.009,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.1448,
    "h": 359
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#B34871
secondary
#92C4B1
accent
#D2A355
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B34871

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

Preview Lab → · Contrast checker → · Palette generator →

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