#B42588#B42588

#B42588 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.201 H 343.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B42588
RGBrgb(180, 37, 136)
HSLhsl(318, 66%, 43%)
HSVhsv(318, 79%, 71%)
CMYKcmyk(0%, 79.4%, 24.4%, 29.4%)
CIE-LABlab(42.47, 63.69, -20.83)
CIE-LCHlch(42.47, 67.01, 341.89°)
OKLaboklab(53.07% 0.1927 -0.0557)
OKLCHoklch(53.07% 0.201 343.9)
XYZxyz(23.9289, 12.8066, 24.4995)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42588 #25B451
analogous
#9925B4 #B42588 #B42540
triadic
#B42588 #88B425 #2588B4
tetradic
#B42588 #B49925 #25B451 #2540B4
square
#B42588 #B49925 #25B451 #2540B4
split-complementary
#B42588 #40B425 #25B499
monochromatic
#4E103B #811B62 #B42588 #D73FA8 #E271BF

Accessibility & contrast

On white

5.90
#B42588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B42588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42588
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42588#FFFFFF#000000##FFFFFF
##B425881.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558B
Deuteranopia (green-blind)
#646D85
Tritanopia (blue-blind)
#C02455
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42588;
/* rgb */ color: rgb(180, 37, 136);
/* oklch */ color: oklch(53.1% 0.201 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf70ab',
    500: '#b42588',
    950: '#000000',
  },
}
SCSS
$custom: #b42588;
$custom-light: #cf70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42588",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 318.462,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.20059,
    "h": 343.9
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#B42588
secondary
#6CC989
accent
#E9733F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42588

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

Preview Lab → · Contrast checker → · Palette generator →

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