#B42E82#B42E82

#B42E82 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 346.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B42E82
RGBrgb(180, 46, 130)
HSLhsl(322, 59%, 44%)
HSVhsv(322, 74%, 71%)
CMYKcmyk(0%, 74.4%, 27.8%, 29.4%)
CIE-LABlab(43.17, 60.24, -16.09)
CIE-LCHlch(43.17, 62.35, 345.05°)
OKLaboklab(53.5% 0.1832 -0.0425)
OKLCHoklch(53.5% 0.188 346.9)
XYZxyz(23.8298, 13.2716, 22.4215)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E82 #2EB460
analogous
#A32EB4 #B42E82 #B42E3F
triadic
#B42E82 #82B42E #2E82B4
tetradic
#B42E82 #B4A32E #2EB460 #2E3FB4
square
#B42E82 #B4A32E #2EB460 #2E3FB4
split-complementary
#B42E82 #3FB42E #2EB4A3
monochromatic
#53153C #83225F #B42E82 #D24EA0 #DE7EBA

Accessibility & contrast

On white

5.75
#B42E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E82
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E82#FFFFFF#000000##FFFFFF
##B42E821.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#C12954
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e82;
/* rgb */ color: rgb(180, 46, 130);
/* oklch */ color: oklch(53.5% 0.188 346.9);
Tailwind
colors: {
  custom: {
    50: '#cf74a6',
    500: '#b42e82',
    950: '#000000',
  },
}
SCSS
$custom: #b42e82;
$custom-light: #cf74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e82",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 322.388,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.18803,
    "h": 346.9
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#B42E82
secondary
#77C795
accent
#E28045
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E82

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

Preview Lab → · Contrast checker → · Palette generator →

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