#B34796#B34796

#B34796 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.167 H 339.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B34796
RGBrgb(179, 71, 150)
HSLhsl(316, 43%, 49%)
HSVhsv(316, 60%, 70%)
CMYKcmyk(0%, 60.3%, 16.2%, 29.8%)
CIE-LABlab(47.36, 52.93, -21.77)
CIE-LCHlch(47.36, 57.23, 337.64°)
OKLaboklab(56.8% 0.1565 -0.0586)
OKLCHoklch(56.8% 0.167 339.5)
XYZxyz(26.3492, 16.2944, 30.6056)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34796 #47B364
analogous
#9A47B3 #B34796 #B34760
triadic
#B34796 #96B347 #4796B3
tetradic
#B34796 #B39A47 #47B364 #4760B3
square
#B34796 #B39A47 #47B364 #4760B3
split-complementary
#B34796 #60B347 #47B39A
monochromatic
#5B244D #873671 #B34796 #C771AF #D89CC8

Accessibility & contrast

On white

4.93
#B34796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B34796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34796
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34796#FFFFFF#000000##FFFFFF
##B347961.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6598
Deuteranopia (green-blind)
#6C7793
Tritanopia (blue-blind)
#BD4A68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b34796;
/* rgb */ color: rgb(179, 71, 150);
/* oklch */ color: oklch(56.8% 0.167 339.5);
Tailwind
colors: {
  custom: {
    50: '#cd80b5',
    500: '#b34796',
    950: '#000000',
  },
}
SCSS
$custom: #b34796;
$custom-light: #cd80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34796",
  "rgb": {
    "r": 179,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 316.111,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.16708,
    "h": 339.5
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#B34796
secondary
#91C49F
accent
#D37755
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B34796

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

Preview Lab → · Contrast checker → · Palette generator →

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