#B42A72#B42A72

#B42A72 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.184 H 353.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B42A72
RGBrgb(180, 42, 114)
HSLhsl(329, 62%, 44%)
HSVhsv(329, 77%, 71%)
CMYKcmyk(0%, 76.7%, 36.7%, 29.4%)
CIE-LABlab(42.12, 59.66, -7.80)
CIE-LCHlch(42.12, 60.16, 352.55°)
OKLaboklab(52.54% 0.1832 -0.0199)
OKLCHoklch(52.54% 0.184 353.8)
XYZxyz(22.6891, 12.5769, 17.1491)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A72 #2AB46C
analogous
#B12AB4 #B42A72 #B42A2D
triadic
#B42A72 #72B42A #2A72B4
tetradic
#B42A72 #B4B12A #2AB46C #2A2DB4
square
#B42A72 #B4B12A #2AB46C #2A2DB4
split-complementary
#B42A72 #2DB42A #2AB4B1
monochromatic
#511333 #821E53 #B42A72 #D44791 #E079AE

Accessibility & contrast

On white

5.97
#B42A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A72
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A72#FFFFFF#000000##FFFFFF
##B42A721.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455374
Deuteranopia (green-blind)
#6C6C6F
Tritanopia (blue-blind)
#C21A4A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42a72;
/* rgb */ color: rgb(180, 42, 114);
/* oklch */ color: oklch(52.5% 0.184 353.8);
Tailwind
colors: {
  custom: {
    50: '#cf719a',
    500: '#b42a72',
    950: '#000000',
  },
}
SCSS
$custom: #b42a72;
$custom-light: #cf719a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a72",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 328.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.18424,
    "h": 353.8
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#B42A72
secondary
#72C89B
accent
#E59043
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42A72

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

Preview Lab → · Contrast checker → · Palette generator →

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