#B42D88#B42D88

#B42D88 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.193 H 344.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B42D88
RGBrgb(180, 45, 136)
HSLhsl(320, 60%, 44%)
HSVhsv(320, 75%, 71%)
CMYKcmyk(0%, 75%, 24.4%, 29.4%)
CIE-LABlab(43.30, 61.32, -19.55)
CIE-LCHlch(43.30, 64.36, 342.31°)
OKLaboklab(53.67% 0.1854 -0.0522)
OKLCHoklch(53.67% 0.193 344.3)
XYZxyz(24.2057, 13.3602, 24.5918)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D88 #2DB459
analogous
#9D2DB4 #B42D88 #B42D44
triadic
#B42D88 #88B42D #2D88B4
tetradic
#B42D88 #B49D2D #2DB459 #2D44B4
square
#B42D88 #B49D2D #2DB459 #2D44B4
split-complementary
#B42D88 #44B42D #2DB49D
monochromatic
#52153E #832163 #B42D88 #D24CA6 #DE7DBF

Accessibility & contrast

On white

5.72
#B42D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42D88
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D88#FFFFFF#000000##FFFFFF
##B42D881.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#C02C57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42d88;
/* rgb */ color: rgb(180, 45, 136);
/* oklch */ color: oklch(53.7% 0.193 344.3);
Tailwind
colors: {
  custom: {
    50: '#cf73ab',
    500: '#b42d88',
    950: '#000000',
  },
}
SCSS
$custom: #b42d88;
$custom-light: #cf73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d88",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 319.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.19258,
    "h": 344.3
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#B42D88
secondary
#76C790
accent
#E37845
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42D88

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

Preview Lab → · Contrast checker → · Palette generator →

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