#B34F87#B34F87

#B34F87 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.145 H 347.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B34F87
RGBrgb(179, 79, 135)
HSLhsl(326, 40%, 51%)
HSVhsv(326, 56%, 70%)
CMYKcmyk(0%, 55.9%, 24.6%, 29.8%)
CIE-LABlab(48.17, 46.99, -11.55)
CIE-LCHlch(48.17, 48.39, 346.19°)
OKLaboklab(57.21% 0.1415 -0.0303)
OKLCHoklch(57.21% 0.145 347.9)
XYZxyz(25.7604, 16.9272, 24.8276)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34F87 #4FB37B
analogous
#AD4FB3 #B34F87 #B34F55
triadic
#B34F87 #87B34F #4F87B3
tetradic
#B34F87 #B3AD4F #4FB37B #4F55B3
square
#B34F87 #B3AD4F #4FB37B #4F55B3
split-complementary
#B34F87 #55B34F #4FB3AD
monochromatic
#5F2947 #893B67 #B34F87 #C57AA4 #D8A4C1

Accessibility & contrast

On white

4.79
#B34F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B34F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34F87
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34F87#FFFFFF#000000##FFFFFF
##B34F871.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6889
Deuteranopia (green-blind)
#757985
Tritanopia (blue-blind)
#BE4C65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b34f87;
/* rgb */ color: rgb(179, 79, 135);
/* oklch */ color: oklch(57.2% 0.145 347.9);
Tailwind
colors: {
  custom: {
    50: '#cc85aa',
    500: '#b34f87',
    950: '#000000',
  },
}
SCSS
$custom: #b34f87;
$custom-light: #cc85aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b34f87",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 326.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.14471,
    "h": 347.9
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#B34F87
secondary
#99C5AC
accent
#D08D58
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B34F87

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

Preview Lab → · Contrast checker → · Palette generator →

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