#B42596#B42596

#B42596 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.209 H 338.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B42596
RGBrgb(180, 37, 150)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 79.4%, 16.7%, 29.4%)
CIE-LABlab(43.11, 65.53, -28.35)
CIE-LCHlch(43.11, 71.40, 336.60°)
OKLaboklab(53.74% 0.1946 -0.077)
OKLCHoklch(53.74% 0.209 338.4)
XYZxyz(24.9896, 13.2309, 30.0860)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42596 #25B443
analogous
#8A25B4 #B42596 #B4254F
triadic
#B42596 #96B425 #2596B4
tetradic
#B42596 #B48A25 #25B443 #254FB4
square
#B42596 #B48A25 #25B443 #254FB4
split-complementary
#B42596 #4FB425 #25B48A
monochromatic
#4E1041 #811B6C #B42596 #D73FB7 #E271CA

Accessibility & contrast

On white

5.76
#B42596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42596
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42596#FFFFFF#000000##FFFFFF
##B425961.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#5F6E93
Tritanopia (blue-blind)
#BE2D5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42596;
/* rgb */ color: rgb(180, 37, 150);
/* oklch */ color: oklch(53.7% 0.209 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf71b5',
    500: '#b42596',
    950: '#000000',
  },
}
SCSS
$custom: #b42596;
$custom-light: #cf71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42596",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 312.587,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.20924,
    "h": 338.4
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#B42596
secondary
#6CC97F
accent
#E9633F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42596

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

Preview Lab → · Contrast checker → · Palette generator →

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