#B82E9F#B82E9F

#B82E9F is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.5% C 0.209 H 336.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B82E9F
RGBrgb(184, 46, 159)
HSLhsl(311, 60%, 45%)
HSVhsv(311, 75%, 72%)
CMYKcmyk(0%, 75%, 13.6%, 27.8%)
CIE-LABlab(45.15, 65.11, -30.52)
CIE-LCHlch(45.15, 71.91, 334.89°)
OKLaboklab(55.48% 0.1914 -0.0831)
OKLCHoklch(55.48% 0.209 336.5)
XYZxyz(27.0026, 14.6500, 34.1998)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82E9F #2EB847
analogous
#8C2EB8 #B82E9F #B82E5A
triadic
#B82E9F #9FB82E #2E9FB8
tetradic
#B82E9F #B88C2E #2EB847 #2E5AB8
square
#B82E9F #B88C2E #2EB847 #2E5AB8
split-complementary
#B82E9F #5AB82E #2EB88C
monochromatic
#56164A #872275 #B82E9F #D350BB #DF81CE

Accessibility & contrast

On white

5.34
#B82E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B82E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82E9F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82E9F#FFFFFF#000000##FFFFFF
##B82E9F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#61729C
Tritanopia (blue-blind)
#C23864
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82e9f;
/* rgb */ color: rgb(184, 46, 159);
/* oklch */ color: oklch(55.5% 0.209 336.5);
Tailwind
colors: {
  custom: {
    50: '#d175bb',
    500: '#b82e9f',
    950: '#000000',
  },
}
SCSS
$custom: #b82e9f;
$custom-light: #d175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b82e9f",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 310.87,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.20872,
    "h": 336.5
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#B82E9F
secondary
#79C888
accent
#E36145
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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