#B34872#B34872

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

Color values

HEX#B34872
RGBrgb(179, 72, 114)
HSLhsl(336, 43%, 49%)
HSVhsv(336, 60%, 70%)
CMYKcmyk(0%, 59.8%, 36.3%, 29.8%)
CIE-LABlab(46.23, 47.58, -1.73)
CIE-LCHlch(46.23, 47.61, 357.91°)
OKLaboklab(55.53% 0.1451 -0.0039)
OKLCHoklch(55.53% 0.145 358.4)
XYZxyz(23.9464, 15.4359, 17.6347)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34872 #48B389
analogous
#B348A7 #B34872 #B35448
triadic
#B34872 #72B348 #4872B3
tetradic
#B34872 #A7B348 #48B389 #5448B3
square
#B34872 #A7B348 #48B389 #5448B3
split-complementary
#B34872 #48B354 #48A7B3
monochromatic
#5C253A #873656 #B34872 #C67293 #D89EB4

Accessibility & contrast

On white

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

On black

4.09
#B34872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34872#FFFFFF#000000##FFFFFF
##B348721.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34872;
/* rgb */ color: rgb(179, 72, 114);
/* oklch */ color: oklch(55.5% 0.145 358.4);
Tailwind
colors: {
  custom: {
    50: '#cd809a',
    500: '#b34872',
    950: '#000000',
  },
}
SCSS
$custom: #b34872;
$custom-light: #cd809a;
$custom-dark: #000000;
JSON
{
  "hex": "#b34872",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 336.449,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.14518,
    "h": 358.4
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34872

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

Preview Lab → · Contrast checker → · Palette generator →

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