#B42586#B42586

#B42586 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 53.0% C 0.199 H 344.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B42586
RGBrgb(180, 37, 134)
HSLhsl(319, 66%, 43%)
HSVhsv(319, 79%, 71%)
CMYKcmyk(0%, 79.4%, 25.6%, 29.4%)
CIE-LABlab(42.38, 63.44, -19.74)
CIE-LCHlch(42.38, 66.44, 342.71°)
OKLaboklab(52.98% 0.1924 -0.0526)
OKLCHoklch(52.98% 0.199 344.7)
XYZxyz(23.7881, 12.7503, 23.7579)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42586 #25B453
analogous
#9B25B4 #B42586 #B4253E
triadic
#B42586 #86B425 #2586B4
tetradic
#B42586 #B49B25 #25B453 #253EB4
square
#B42586 #B49B25 #25B453 #253EB4
split-complementary
#B42586 #3EB425 #25B49B
monochromatic
#4E103A #811B60 #B42586 #D73FA6 #E271BE

Accessibility & contrast

On white

5.92
#B42586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B42586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42586
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42586#FFFFFF#000000##FFFFFF
##B425861.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385588
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#C02353
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42586;
/* rgb */ color: rgb(180, 37, 134);
/* oklch */ color: oklch(53.0% 0.199 344.7);
Tailwind
colors: {
  custom: {
    50: '#cf70a9',
    500: '#b42586',
    950: '#000000',
  },
}
SCSS
$custom: #b42586;
$custom-light: #cf70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b42586",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 319.301,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.19942,
    "h": 344.7
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#B42586
secondary
#6CC98A
accent
#E9763F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42586

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

Preview Lab → · Contrast checker → · Palette generator →

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