#B34A8B#B34A8B

#B34A8B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.155 H 345.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B34A8B
RGBrgb(179, 74, 139)
HSLhsl(323, 42%, 50%)
HSVhsv(323, 59%, 70%)
CMYKcmyk(0%, 58.7%, 22.3%, 29.8%)
CIE-LABlab(47.43, 49.93, -15.08)
CIE-LCHlch(47.43, 52.16, 343.20°)
OKLaboklab(56.71% 0.1498 -0.0399)
OKLCHoklch(56.71% 0.155 345.1)
XYZxyz(25.7002, 16.3477, 26.2230)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34A8B #4AB372
analogous
#A74AB3 #B34A8B #B34A57
triadic
#B34A8B #8BB34A #4A8BB3
tetradic
#B34A8B #B3A74A #4AB372 #4A57B3
square
#B34A8B #B3A74A #4AB372 #4A57B3
split-complementary
#B34A8B #57B34A #4AB3A7
monochromatic
#5C2648 #883869 #B34A8B #C674A7 #D8A0C2

Accessibility & contrast

On white

4.92
#B34A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B34A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34A8B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34A8B#FFFFFF#000000##FFFFFF
##B34A8B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658D
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#BE4964
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b34a8b;
/* rgb */ color: rgb(179, 74, 139);
/* oklch */ color: oklch(56.7% 0.155 345.1);
Tailwind
colors: {
  custom: {
    50: '#cd82ad',
    500: '#b34a8b',
    950: '#000000',
  },
}
SCSS
$custom: #b34a8b;
$custom-light: #cd82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b34a8b",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 322.857,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.15504,
    "h": 345.1
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#B34A8B
secondary
#94C4A7
accent
#D18556
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B34A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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