#B42496#B42496

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

Color values

HEX#B42496
RGBrgb(180, 36, 150)
HSLhsl(313, 67%, 42%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 80%, 16.7%, 29.4%)
CIE-LABlab(43.02, 65.80, -28.50)
CIE-LCHlch(43.02, 71.70, 336.58°)
OKLaboklab(53.68% 0.1954 -0.0774)
OKLCHoklch(53.68% 0.21 338.4)
XYZxyz(24.9589, 13.1695, 30.0758)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42496 #24B442
analogous
#8A24B4 #B42496 #B4244E
triadic
#B42496 #96B424 #2496B4
tetradic
#B42496 #B48A24 #24B442 #244EB4
square
#B42496 #B48A24 #24B442 #244EB4
split-complementary
#B42496 #4EB424 #24B48A
monochromatic
#4E1041 #811A6C #B42496 #D83DB8 #E270CB

Accessibility & contrast

On white

5.78
#B42496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B42496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42496
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42496#FFFFFF#000000##FFFFFF
##B424961.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#5F6D93
Tritanopia (blue-blind)
#BE2C5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42496;
/* rgb */ color: rgb(180, 36, 150);
/* oklch */ color: oklch(53.7% 0.210 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b42496',
    950: '#000000',
  },
}
SCSS
$custom: #b42496;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42496",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 312.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.21013,
    "h": 338.4
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#B42496
secondary
#6BC97E
accent
#EA623E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42496

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

Preview Lab → · Contrast checker → · Palette generator →

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