#B34397#B34397

#B34397 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.174 H 338.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B34397
RGBrgb(179, 67, 151)
HSLhsl(315, 46%, 48%)
HSVhsv(315, 63%, 70%)
CMYKcmyk(0%, 62.6%, 15.6%, 29.8%)
CIE-LABlab(46.76, 54.84, -23.30)
CIE-LCHlch(46.76, 59.58, 336.98°)
OKLaboklab(56.37% 0.1619 -0.0629)
OKLCHoklch(56.37% 0.174 338.8)
XYZxyz(26.1839, 15.8346, 30.9495)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34397 #43B35F
analogous
#9743B3 #B34397 #B3435F
triadic
#B34397 #97B343 #4397B3
tetradic
#B34397 #B39743 #43B35F #435FB3
square
#B34397 #B39743 #43B35F #435FB3
split-complementary
#B34397 #5FB343 #43B397
monochromatic
#5A224C #863271 #B34397 #C86BB1 #D898C8

Accessibility & contrast

On white

5.04
#B34397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B34397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34397
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34397#FFFFFF#000000##FFFFFF
##B343971.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#BD4767
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b34397;
/* rgb */ color: rgb(179, 67, 151);
/* oklch */ color: oklch(56.4% 0.174 338.8);
Tailwind
colors: {
  custom: {
    50: '#cd7eb5',
    500: '#b34397',
    950: '#000000',
  },
}
SCSS
$custom: #b34397;
$custom-light: #cd7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34397",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 315,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.17369,
    "h": 338.8
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#B34397
secondary
#8DC49B
accent
#D57353
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B34397

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

Preview Lab → · Contrast checker → · Palette generator →

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