#B42D8A#B42D8A

#B42D8A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.194 H 343.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B42D8A
RGBrgb(180, 45, 138)
HSLhsl(319, 60%, 44%)
HSVhsv(319, 75%, 71%)
CMYKcmyk(0%, 75%, 23.3%, 29.4%)
CIE-LABlab(43.39, 61.58, -20.64)
CIE-LCHlch(43.39, 64.95, 341.47°)
OKLaboklab(53.76% 0.1858 -0.0552)
OKLCHoklch(53.76% 0.194 343.4)
XYZxyz(24.3491, 13.4176, 25.3474)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D8A #2DB457
analogous
#9B2DB4 #B42D8A #B42D46
triadic
#B42D8A #8AB42D #2D8AB4
tetradic
#B42D8A #B49B2D #2DB457 #2D46B4
square
#B42D8A #B49B2D #2DB457 #2D46B4
split-complementary
#B42D8A #46B42D #2DB49B
monochromatic
#52153F #832164 #B42D8A #D24CA8 #DE7DC0

Accessibility & contrast

On white

5.70
#B42D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D8A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D8A#FFFFFF#000000##FFFFFF
##B42D8A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#C02D58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42d8a;
/* rgb */ color: rgb(180, 45, 138);
/* oklch */ color: oklch(53.8% 0.194 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf73ac',
    500: '#b42d8a',
    950: '#000000',
  },
}
SCSS
$custom: #b42d8a;
$custom-light: #cf73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d8a",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 318.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.19378,
    "h": 343.4
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#B42D8A
secondary
#76C78F
accent
#E37645
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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