#B42396#B42396

#B42396 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.211 H 338.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B42396
RGBrgb(180, 35, 150)
HSLhsl(312, 67%, 42%)
HSVhsv(312, 81%, 71%)
CMYKcmyk(0%, 80.6%, 16.7%, 29.4%)
CIE-LABlab(42.93, 66.05, -28.64)
CIE-LCHlch(42.93, 71.99, 336.56°)
OKLaboklab(53.61% 0.1961 -0.0778)
OKLCHoklch(53.61% 0.211 338.4)
XYZxyz(24.9291, 13.1099, 30.0658)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42396 #23B441
analogous
#8A23B4 #B42396 #B4234D
triadic
#B42396 #96B423 #2396B4
tetradic
#B42396 #B48A23 #23B441 #234DB4
square
#B42396 #B48A23 #23B441 #234DB4
split-complementary
#B42396 #4DB423 #23B48A
monochromatic
#4E0F41 #81196B #B42396 #D93BB8 #E36ECB

Accessibility & contrast

On white

5.80
#B42396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42396
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42396#FFFFFF#000000##FFFFFF
##B423961.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42396;
/* rgb */ color: rgb(180, 35, 150);
/* oklch */ color: oklch(53.6% 0.211 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b42396',
    950: '#000000',
  },
}
SCSS
$custom: #b42396;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42396",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 312.414,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.211,
    "h": 338.4
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#B42396
secondary
#69C97D
accent
#EA613D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42396

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

Preview Lab → · Contrast checker → · Palette generator →

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