#B42A91#B42A91

#B42A91 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.201 H 340.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B42A91
RGBrgb(180, 42, 145)
HSLhsl(315, 62%, 44%)
HSVhsv(315, 77%, 71%)
CMYKcmyk(0%, 76.7%, 19.4%, 29.4%)
CIE-LABlab(43.37, 63.44, -24.92)
CIE-LCHlch(43.37, 68.16, 338.55°)
OKLaboklab(53.85% 0.1897 -0.0672)
OKLCHoklch(53.85% 0.201 340.5)
XYZxyz(24.7619, 13.4061, 28.0661)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A91 #2AB44D
analogous
#922AB4 #B42A91 #B42A4C
triadic
#B42A91 #91B42A #2A91B4
tetradic
#B42A91 #B4922A #2AB44D #2A4CB4
square
#B42A91 #B4922A #2AB44D #2A4CB4
split-complementary
#B42A91 #4CB42A #2AB492
monochromatic
#511341 #821E69 #B42A91 #D447B0 #E079C6

Accessibility & contrast

On white

5.71
#B42A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A91
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A91#FFFFFF#000000##FFFFFF
##B42A911.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355894
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#BF2E5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42a91;
/* rgb */ color: rgb(180, 42, 145);
/* oklch */ color: oklch(53.9% 0.201 340.5);
Tailwind
colors: {
  custom: {
    50: '#cf72b1',
    500: '#b42a91',
    950: '#000000',
  },
}
SCSS
$custom: #b42a91;
$custom-light: #cf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a91",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 315.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.20126,
    "h": 340.5
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#B42A91
secondary
#72C888
accent
#E56C43
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42A91

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

Preview Lab → · Contrast checker → · Palette generator →

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