#B834A2#B834A2

#B834A2 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.1% C 0.204 H 335.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B834A2
RGBrgb(184, 52, 162)
HSLhsl(310, 56%, 46%)
HSVhsv(310, 72%, 72%)
CMYKcmyk(0%, 71.7%, 12%, 27.8%)
CIE-LABlab(45.98, 63.59, -31.00)
CIE-LCHlch(45.98, 70.75, 334.01°)
OKLaboklab(56.13% 0.1859 -0.0846)
OKLCHoklch(56.13% 0.204 335.5)
XYZxyz(27.5171, 15.2574, 35.6711)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834A2 #34B84A
analogous
#8C34B8 #B834A2 #B83460
triadic
#B834A2 #A2B834 #34A2B8
tetradic
#B834A2 #B88C34 #34B84A #3460B8
square
#B834A2 #B88C34 #34B84A #3460B8
split-complementary
#B834A2 #60B834 #34B88C
monochromatic
#59194E #882778 #B834A2 #D059BC #DE89CF

Accessibility & contrast

On white

5.18
#B834A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B834A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834A2#FFFFFF#000000##FFFFFF
##B834A21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#C13E67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b834a2;
/* rgb */ color: rgb(184, 52, 162);
/* oklch */ color: oklch(56.1% 0.204 335.5);
Tailwind
colors: {
  custom: {
    50: '#d178be',
    500: '#b834a2',
    950: '#000000',
  },
}
SCSS
$custom: #b834a2;
$custom-light: #d178be;
$custom-dark: #000000;
JSON
{
  "hex": "#b834a2",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 310,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.20425,
    "h": 335.5
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#B834A2
secondary
#80C88C
accent
#DF6249
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B834A2

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

Preview Lab → · Contrast checker → · Palette generator →

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