#B42696#B42696

#B42696 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.208 H 338.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B42696
RGBrgb(180, 38, 150)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 78.9%, 16.7%, 29.4%)
CIE-LABlab(43.20, 65.26, -28.21)
CIE-LCHlch(43.20, 71.10, 336.63°)
OKLaboklab(53.81% 0.1938 -0.0766)
OKLCHoklch(53.81% 0.208 338.4)
XYZxyz(25.0211, 13.2940, 30.0965)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42696 #26B444
analogous
#8B26B4 #B42696 #B4264F
triadic
#B42696 #96B426 #2696B4
tetradic
#B42696 #B48B26 #26B444 #264FB4
square
#B42696 #B48B26 #26B444 #264FB4
split-complementary
#B42696 #4FB426 #26B48B
monochromatic
#4F1142 #811B6C #B42696 #D740B7 #E173CA

Accessibility & contrast

On white

5.74
#B42696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42696
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42696#FFFFFF#000000##FFFFFF
##B426961.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42696;
/* rgb */ color: rgb(180, 38, 150);
/* oklch */ color: oklch(53.8% 0.208 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf71b5',
    500: '#b42696',
    950: '#000000',
  },
}
SCSS
$custom: #b42696;
$custom-light: #cf71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42696",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 312.676,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.20833,
    "h": 338.4
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#B42696
secondary
#6DC981
accent
#E86340
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42696

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

Preview Lab → · Contrast checker → · Palette generator →

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