#B34797#B34797

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

Color values

HEX#B34797
RGBrgb(179, 71, 151)
HSLhsl(316, 43%, 49%)
HSVhsv(316, 60%, 70%)
CMYKcmyk(0%, 60.3%, 15.6%, 29.8%)
CIE-LABlab(47.40, 53.08, -22.31)
CIE-LCHlch(47.40, 57.57, 337.21°)
OKLaboklab(56.85% 0.1567 -0.0601)
OKLCHoklch(56.85% 0.168 339)
XYZxyz(26.4300, 16.3268, 31.0315)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34797 #47B363
analogous
#9947B3 #B34797 #B34761
triadic
#B34797 #97B347 #4797B3
tetradic
#B34797 #B39947 #47B363 #4761B3
square
#B34797 #B39947 #47B363 #4761B3
split-complementary
#B34797 #61B347 #47B399
monochromatic
#5B244D #873672 #B34797 #C771B0 #D89CC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34797#FFFFFF#000000##FFFFFF
##B347971.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#BC4A68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b34797;
/* rgb */ color: rgb(179, 71, 151);
/* oklch */ color: oklch(56.8% 0.168 339.0);
Tailwind
colors: {
  custom: {
    50: '#cd80b5',
    500: '#b34797',
    950: '#000000',
  },
}
SCSS
$custom: #b34797;
$custom-light: #cd80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34797",
  "rgb": {
    "r": 179,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 315.556,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.16781,
    "h": 339
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34797

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

Preview Lab → · Contrast checker → · Palette generator →

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