#B34D98#B34D98

#B34D98 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.6% C 0.159 H 338.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B34D98
RGBrgb(179, 77, 152)
HSLhsl(316, 40%, 50%)
HSVhsv(316, 57%, 70%)
CMYKcmyk(0%, 57%, 15.1%, 29.8%)
CIE-LABlab(48.46, 50.47, -21.27)
CIE-LCHlch(48.46, 54.77, 337.15°)
OKLaboklab(57.64% 0.1487 -0.0572)
OKLCHoklch(57.64% 0.159 338.9)
XYZxyz(26.9122, 17.1606, 31.5946)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34D98 #4DB368
analogous
#9B4DB3 #B34D98 #B34D65
triadic
#B34D98 #98B34D #4D98B3
tetradic
#B34D98 #B39B4D #4DB368 #4D65B3
square
#B34D98 #B39B4D #4DB368 #4D65B3
split-complementary
#B34D98 #65B34D #4DB39B
monochromatic
#5E284F #893A74 #B34D98 #C578B1 #D8A3CA

Accessibility & contrast

On white

4.74
#B34D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B34D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34D98
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34D98#FFFFFF#000000##FFFFFF
##B34D981.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#6F7995
Tritanopia (blue-blind)
#BC506C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34d98;
/* rgb */ color: rgb(179, 77, 152);
/* oklch */ color: oklch(57.6% 0.159 338.9);
Tailwind
colors: {
  custom: {
    50: '#cc84b6',
    500: '#b34d98',
    950: '#000000',
  },
}
SCSS
$custom: #b34d98;
$custom-light: #cc84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34d98",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 315.882,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.15931,
    "h": 338.9
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#B34D98
secondary
#97C5A3
accent
#D07858
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B34D98

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

Preview Lab → · Contrast checker → · Palette generator →

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