#B42589#B42589

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

Color values

HEX#B42589
RGBrgb(180, 37, 137)
HSLhsl(318, 66%, 43%)
HSVhsv(318, 79%, 71%)
CMYKcmyk(0%, 79.4%, 23.9%, 29.4%)
CIE-LABlab(42.51, 63.82, -21.38)
CIE-LCHlch(42.51, 67.30, 341.48°)
OKLaboklab(53.12% 0.1929 -0.0572)
OKLCHoklch(53.12% 0.201 343.5)
XYZxyz(24.0003, 12.8352, 24.8756)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42589 #25B450
analogous
#9825B4 #B42589 #B42541
triadic
#B42589 #89B425 #2589B4
tetradic
#B42589 #B49825 #25B450 #2541B4
square
#B42589 #B49825 #25B450 #2541B4
split-complementary
#B42589 #41B425 #25B498
monochromatic
#4E103C #811B62 #B42589 #D73FAA #E271C0

Accessibility & contrast

On white

5.89
#B42589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B42589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42589
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42589#FFFFFF#000000##FFFFFF
##B425891.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558C
Deuteranopia (green-blind)
#646D86
Tritanopia (blue-blind)
#C02555
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42589;
/* rgb */ color: rgb(180, 37, 137);
/* oklch */ color: oklch(53.1% 0.201 343.5);
Tailwind
colors: {
  custom: {
    50: '#cf70ab',
    500: '#b42589',
    950: '#000000',
  },
}
SCSS
$custom: #b42589;
$custom-light: #cf70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42589",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 318.042,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.20117,
    "h": 343.5
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#B42589
secondary
#6CC988
accent
#E9723F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42589

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

Preview Lab → · Contrast checker → · Palette generator →

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