#B42D87#B42D87

#B42D87 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.192 H 344.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B42D87
RGBrgb(180, 45, 135)
HSLhsl(320, 60%, 44%)
HSVhsv(320, 75%, 71%)
CMYKcmyk(0%, 75%, 25%, 29.4%)
CIE-LABlab(43.26, 61.19, -19.01)
CIE-LCHlch(43.26, 64.08, 342.74°)
OKLaboklab(53.63% 0.1852 -0.0506)
OKLCHoklch(53.63% 0.192 344.7)
XYZxyz(24.1349, 13.3319, 24.2193)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D87 #2DB45A
analogous
#9E2DB4 #B42D87 #B42D44
triadic
#B42D87 #87B42D #2D87B4
tetradic
#B42D87 #B49E2D #2DB45A #2D44B4
square
#B42D87 #B49E2D #2DB45A #2D44B4
split-complementary
#B42D87 #44B42D #2DB49E
monochromatic
#52153E #832162 #B42D87 #D24CA5 #DE7DBE

Accessibility & contrast

On white

5.73
#B42D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D87
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D87#FFFFFF#000000##FFFFFF
##B42D871.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#C02B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42d87;
/* rgb */ color: rgb(180, 45, 135);
/* oklch */ color: oklch(53.6% 0.192 344.7);
Tailwind
colors: {
  custom: {
    50: '#cf73aa',
    500: '#b42d87',
    950: '#000000',
  },
}
SCSS
$custom: #b42d87;
$custom-light: #cf73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d87",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.19199,
    "h": 344.7
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#B42D87
secondary
#76C791
accent
#E37945
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42D87

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

Preview Lab → · Contrast checker → · Palette generator →

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