#B42B87#B42B87

#B42B87 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.194 H 344.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B42B87
RGBrgb(180, 43, 135)
HSLhsl(320, 61%, 44%)
HSVhsv(320, 76%, 71%)
CMYKcmyk(0%, 76.1%, 25%, 29.4%)
CIE-LABlab(43.04, 61.82, -19.35)
CIE-LCHlch(43.04, 64.78, 342.62°)
OKLaboklab(53.47% 0.1871 -0.0516)
OKLCHoklch(53.47% 0.194 344.6)
XYZxyz(24.0604, 13.1829, 24.1944)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B87 #2BB458
analogous
#9C2BB4 #B42B87 #B42B42
triadic
#B42B87 #87B42B #2B87B4
tetradic
#B42B87 #B49C2B #2BB458 #2B42B4
square
#B42B87 #B49C2B #2BB458 #2B42B4
split-complementary
#B42B87 #42B42B #2BB49C
monochromatic
#51133D #831F62 #B42B87 #D349A6 #DF7ABE

Accessibility & contrast

On white

5.78
#B42B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42B87
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B87#FFFFFF#000000##FFFFFF
##B42B871.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#C02956
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b87;
/* rgb */ color: rgb(180, 43, 135);
/* oklch */ color: oklch(53.5% 0.194 344.6);
Tailwind
colors: {
  custom: {
    50: '#cf72aa',
    500: '#b42b87',
    950: '#000000',
  },
}
SCSS
$custom: #b42b87;
$custom-light: #cf72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b87",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 319.708,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.19412,
    "h": 344.6
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#B42B87
secondary
#73C78F
accent
#E57843
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42B87

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

Preview Lab → · Contrast checker → · Palette generator →

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