#B82A9F#B82A9F

#B82A9F is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.2% C 0.213 H 336.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B82A9F
RGBrgb(184, 42, 159)
HSLhsl(311, 63%, 44%)
HSVhsv(311, 77%, 72%)
CMYKcmyk(0%, 77.2%, 13.6%, 27.8%)
CIE-LABlab(44.73, 66.31, -31.17)
CIE-LCHlch(44.73, 73.27, 334.82°)
OKLaboklab(55.18% 0.195 -0.085)
OKLCHoklch(55.18% 0.213 336.5)
XYZxyz(26.8536, 14.3520, 34.1501)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82A9F #2AB843
analogous
#8A2AB8 #B82A9F #B82A58
triadic
#B82A9F #9FB82A #2A9FB8
tetradic
#B82A9F #B88A2A #2AB843 #2A58B8
square
#B82A9F #B88A2A #2AB843 #2A58B8
split-complementary
#B82A9F #58B82A #2AB88A
monochromatic
#541349 #861F74 #B82A9F #D64ABD #E17BCF

Accessibility & contrast

On white

5.43
#B82A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B82A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82A9F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82A9F#FFFFFF#000000##FFFFFF
##B82A9F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#60719C
Tritanopia (blue-blind)
#C23563
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b82a9f;
/* rgb */ color: rgb(184, 42, 159);
/* oklch */ color: oklch(55.2% 0.213 336.5);
Tailwind
colors: {
  custom: {
    50: '#d174bb',
    500: '#b82a9f',
    950: '#000000',
  },
}
SCSS
$custom: #b82a9f;
$custom-light: #d174bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b82a9f",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 310.563,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.21272,
    "h": 336.5
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#B82A9F
secondary
#75C984
accent
#E65F42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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