#B42599#B42599

#B42599 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.9% C 0.211 H 337.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B42599
RGBrgb(180, 37, 153)
HSLhsl(311, 66%, 43%)
HSVhsv(311, 79%, 71%)
CMYKcmyk(0%, 79.4%, 15%, 29.4%)
CIE-LABlab(43.25, 65.95, -29.94)
CIE-LCHlch(43.25, 72.43, 335.58°)
OKLaboklab(53.89% 0.1948 -0.0815)
OKLCHoklch(53.89% 0.211 337.3)
XYZxyz(25.2343, 13.3288, 31.3746)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42599 #25B440
analogous
#8825B4 #B42599 #B42551
triadic
#B42599 #99B425 #2599B4
tetradic
#B42599 #B48825 #25B440 #2551B4
square
#B42599 #B48825 #25B440 #2551B4
split-complementary
#B42599 #51B425 #25B488
monochromatic
#4E1043 #811B6E #B42599 #D73FBB #E271CD

Accessibility & contrast

On white

5.73
#B42599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42599
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42599#FFFFFF#000000##FFFFFF
##B425991.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#BE2F5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42599;
/* rgb */ color: rgb(180, 37, 153);
/* oklch */ color: oklch(53.9% 0.211 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf71b7',
    500: '#b42599',
    950: '#000000',
  },
}
SCSS
$custom: #b42599;
$custom-light: #cf71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42599",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 311.329,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.2112,
    "h": 337.3
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#B42599
secondary
#6CC97E
accent
#E95F3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42599

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

Preview Lab → · Contrast checker → · Palette generator →

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