#B42D82#B42D82

#B42D82 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.189 H 346.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B42D82
RGBrgb(180, 45, 130)
HSLhsl(322, 60%, 44%)
HSVhsv(322, 75%, 71%)
CMYKcmyk(0%, 75%, 27.8%, 29.4%)
CIE-LABlab(43.05, 60.56, -16.26)
CIE-LCHlch(43.05, 62.71, 344.97°)
OKLaboklab(53.42% 0.1842 -0.043)
OKLCHoklch(53.42% 0.189 346.9)
XYZxyz(23.7912, 13.1944, 22.4086)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D82 #2DB45F
analogous
#A32DB4 #B42D82 #B42D3F
triadic
#B42D82 #82B42D #2D82B4
tetradic
#B42D82 #B4A32D #2DB45F #2D3FB4
square
#B42D82 #B4A32D #2DB45F #2D3FB4
split-complementary
#B42D82 #3FB42D #2DB4A3
monochromatic
#52153B #83215F #B42D82 #D24CA1 #DE7DBA

Accessibility & contrast

On white

5.77
#B42D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B42D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D82
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D82#FFFFFF#000000##FFFFFF
##B42D821.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#C12854
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42d82;
/* rgb */ color: rgb(180, 45, 130);
/* oklch */ color: oklch(53.4% 0.189 346.9);
Tailwind
colors: {
  custom: {
    50: '#cf73a6',
    500: '#b42d82',
    950: '#000000',
  },
}
SCSS
$custom: #b42d82;
$custom-light: #cf73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d82",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 322.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.18912,
    "h": 346.9
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#B42D82
secondary
#76C794
accent
#E37F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42D82

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

Preview Lab → · Contrast checker → · Palette generator →

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