#B82FA1#B82FA1

#B82FA1 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.209 H 335.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B82FA1
RGBrgb(184, 47, 161)
HSLhsl(310, 59%, 45%)
HSVhsv(310, 74%, 72%)
CMYKcmyk(0%, 74.5%, 12.5%, 27.8%)
CIE-LABlab(45.36, 65.09, -31.39)
CIE-LCHlch(45.36, 72.26, 334.25°)
OKLaboklab(55.66% 0.1907 -0.0856)
OKLCHoklch(55.66% 0.209 335.8)
XYZxyz(27.2171, 14.7991, 35.1344)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA1 #2FB846
analogous
#8A2FB8 #B82FA1 #B82F5C
triadic
#B82FA1 #A1B82F #2FA1B8
tetradic
#B82FA1 #B88A2F #2FB846 #2F5CB8
square
#B82FA1 #B88A2F #2FB846 #2F5CB8
split-complementary
#B82FA1 #5CB82F #2FB88A
monochromatic
#57164C #872376 #B82FA1 #D352BD #DF82D0

Accessibility & contrast

On white

5.30
#B82FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B82FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA1#FFFFFF#000000##FFFFFF
##B82FA11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#61739E
Tritanopia (blue-blind)
#C13965
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82fa1;
/* rgb */ color: rgb(184, 47, 161);
/* oklch */ color: oklch(55.7% 0.209 335.8);
Tailwind
colors: {
  custom: {
    50: '#d176bd',
    500: '#b82fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa1;
$custom-light: #d176bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa1",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 310.073,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.20904,
    "h": 335.8
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#B82FA1
secondary
#7BC888
accent
#E26045
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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