#B42B82#B42B82

#B42B82 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.191 H 346.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B42B82
RGBrgb(180, 43, 130)
HSLhsl(322, 61%, 44%)
HSVhsv(322, 76%, 71%)
CMYKcmyk(0%, 76.1%, 27.8%, 29.4%)
CIE-LABlab(42.83, 61.20, -16.60)
CIE-LCHlch(42.83, 63.41, 344.82°)
OKLaboklab(53.25% 0.1861 -0.0439)
OKLCHoklch(53.25% 0.191 346.7)
XYZxyz(23.7167, 13.0454, 22.3838)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B82 #2BB45D
analogous
#A12BB4 #B42B82 #B42B3D
triadic
#B42B82 #82B42B #2B82B4
tetradic
#B42B82 #B4A12B #2BB45D #2B3DB4
square
#B42B82 #B4A12B #2BB45D #2B3DB4
split-complementary
#B42B82 #3DB42B #2BB4A1
monochromatic
#51133B #831F5E #B42B82 #D349A1 #DF7ABA

Accessibility & contrast

On white

5.82
#B42B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B82
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B82#FFFFFF#000000##FFFFFF
##B42B821.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#C12653
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42b82;
/* rgb */ color: rgb(180, 43, 130);
/* oklch */ color: oklch(53.3% 0.191 346.7);
Tailwind
colors: {
  custom: {
    50: '#cf72a6',
    500: '#b42b82',
    950: '#000000',
  },
}
SCSS
$custom: #b42b82;
$custom-light: #cf72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b82",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 321.898,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.19125,
    "h": 346.7
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#B42B82
secondary
#73C792
accent
#E57E43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42B82

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

Preview Lab → · Contrast checker → · Palette generator →

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