#B34EA0#B34EA0

#B34EA0 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.1% C 0.164 H 335.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B34EA0
RGBrgb(179, 78, 160)
HSLhsl(311, 40%, 50%)
HSVhsv(311, 56%, 70%)
CMYKcmyk(0%, 56.4%, 10.6%, 29.8%)
CIE-LABlab(48.97, 51.28, -25.22)
CIE-LCHlch(48.97, 57.15, 333.81°)
OKLaboklab(58.13% 0.1489 -0.0684)
OKLCHoklch(58.13% 0.164 335.3)
XYZxyz(27.6601, 17.5726, 35.1859)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA0 #4EB361
analogous
#934EB3 #B34EA0 #B34E6D
triadic
#B34EA0 #A0B34E #4EA0B3
tetradic
#B34EA0 #B3934E #4EB361 #4E6DB3
square
#B34EA0 #B3934E #4EB361 #4E6DB3
split-complementary
#B34EA0 #6DB34E #4EB393
monochromatic
#5E2854 #893B7A #B34EA0 #C579B7 #D8A4CE

Accessibility & contrast

On white

4.65
#B34EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B34EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34EA0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA0#FFFFFF#000000##FFFFFF
##B34EA01.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA3
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#BB5370
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ea0;
/* rgb */ color: rgb(179, 78, 160);
/* oklch */ color: oklch(58.1% 0.164 335.3);
Tailwind
colors: {
  custom: {
    50: '#cc85bc',
    500: '#b34ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea0;
$custom-light: #cc85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea0",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 311.287,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58129,
    "c": 0.16386,
    "h": 335.3
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#B34EA0
secondary
#98C5A0
accent
#D06F58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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