#B42D89#B42D89

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

Color values

HEX#B42D89
RGBrgb(180, 45, 137)
HSLhsl(319, 60%, 44%)
HSVhsv(319, 75%, 71%)
CMYKcmyk(0%, 75%, 23.9%, 29.4%)
CIE-LABlab(43.34, 61.45, -20.10)
CIE-LCHlch(43.34, 64.65, 341.89°)
OKLaboklab(53.72% 0.1856 -0.0537)
OKLCHoklch(53.72% 0.193 343.9)
XYZxyz(24.2771, 13.3888, 24.9678)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D89 #2DB458
analogous
#9C2DB4 #B42D89 #B42D46
triadic
#B42D89 #89B42D #2D89B4
tetradic
#B42D89 #B49C2D #2DB458 #2D46B4
square
#B42D89 #B49C2D #2DB458 #2D46B4
split-complementary
#B42D89 #46B42D #2DB49C
monochromatic
#52153E #832164 #B42D89 #D24CA7 #DE7DBF

Accessibility & contrast

On white

5.71
#B42D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42D89
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D89#FFFFFF#000000##FFFFFF
##B42D891.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42d89;
/* rgb */ color: rgb(180, 45, 137);
/* oklch */ color: oklch(53.7% 0.193 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf73ab',
    500: '#b42d89',
    950: '#000000',
  },
}
SCSS
$custom: #b42d89;
$custom-light: #cf73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d89",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 319.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.19318,
    "h": 343.9
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42D89

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

Preview Lab → · Contrast checker → · Palette generator →

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