#B34EA2#B34EA2

#B34EA2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.2% C 0.165 H 334.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B34EA2
RGBrgb(179, 78, 162)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 56%, 70%)
CMYKcmyk(0%, 56.4%, 9.5%, 29.8%)
CIE-LABlab(49.06, 51.61, -26.27)
CIE-LCHlch(49.06, 57.91, 333.02°)
OKLaboklab(58.22% 0.1493 -0.0714)
OKLCHoklch(58.22% 0.165 334.4)
XYZxyz(27.8365, 17.6431, 36.1147)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA2 #4EB35F
analogous
#914EB3 #B34EA2 #B34E6F
triadic
#B34EA2 #A2B34E #4EA2B3
tetradic
#B34EA2 #B3914E #4EB35F #4E6FB3
square
#B34EA2 #B3914E #4EB35F #4E6FB3
split-complementary
#B34EA2 #6FB34E #4EB391
monochromatic
#5E2855 #893B7C #B34EA2 #C579B8 #D8A4CF

Accessibility & contrast

On white

4.64
#B34EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B34EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34EA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA2#FFFFFF#000000##FFFFFF
##B34EA21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#BB5471
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ea2;
/* rgb */ color: rgb(179, 78, 162);
/* oklch */ color: oklch(58.2% 0.165 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc85bd',
    500: '#b34ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea2;
$custom-light: #cc85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea2",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 310.099,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.16545,
    "h": 334.4
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#B34EA2
secondary
#98C59F
accent
#D06C58
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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