#B34DA2#B34DA2

#B34DA2 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.1% C 0.167 H 334.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B34DA2
RGBrgb(179, 77, 162)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 57%, 70%)
CMYKcmyk(0%, 57%, 9.5%, 29.8%)
CIE-LABlab(48.89, 52.08, -26.54)
CIE-LCHlch(48.89, 58.45, 333.00°)
OKLaboklab(58.09% 0.1506 -0.0722)
OKLCHoklch(58.09% 0.167 334.4)
XYZxyz(27.7660, 17.5021, 36.0912)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DA2 #4DB35E
analogous
#914DB3 #B34DA2 #B34D6F
triadic
#B34DA2 #A2B34D #4DA2B3
tetradic
#B34DA2 #B3914D #4DB35E #4D6FB3
square
#B34DA2 #B3914D #4DB35E #4D6FB3
split-complementary
#B34DA2 #6FB34D #4DB391
monochromatic
#5E2855 #893A7B #B34DA2 #C578B8 #D8A3CF

Accessibility & contrast

On white

4.67
#B34DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B34DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34DA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DA2#FFFFFF#000000##FFFFFF
##B34DA21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34da2;
/* rgb */ color: rgb(179, 77, 162);
/* oklch */ color: oklch(58.1% 0.167 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc84bd',
    500: '#b34da2',
    950: '#000000',
  },
}
SCSS
$custom: #b34da2;
$custom-light: #cc84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34da2",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 310,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.16702,
    "h": 334.4
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#B34DA2
secondary
#97C59F
accent
#D06C58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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