#B42A7A#B42A7A

#B42A7A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.188 H 350.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B42A7A
RGBrgb(180, 42, 122)
HSLhsl(325, 62%, 44%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 76.7%, 32.2%, 29.4%)
CIE-LABlab(42.41, 60.55, -12.32)
CIE-LCHlch(42.41, 61.79, 348.50°)
OKLaboklab(52.84% 0.1853 -0.0321)
OKLCHoklch(52.84% 0.188 350.2)
XYZxyz(23.1645, 12.7671, 19.6530)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A7A #2AB464
analogous
#A92AB4 #B42A7A #B42A35
triadic
#B42A7A #7AB42A #2A7AB4
tetradic
#B42A7A #B4A92A #2AB464 #2A35B4
square
#B42A7A #B4A92A #2AB464 #2A35B4
split-complementary
#B42A7A #35B42A #2AB4A9
monochromatic
#511337 #821E58 #B42A7A #D44799 #E079B4

Accessibility & contrast

On white

5.91
#B42A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B42A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A7A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A7A#FFFFFF#000000##FFFFFF
##B42A7A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#6A6D77
Tritanopia (blue-blind)
#C2204F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42a7a;
/* rgb */ color: rgb(180, 42, 122);
/* oklch */ color: oklch(52.8% 0.188 350.2);
Tailwind
colors: {
  custom: {
    50: '#cf72a0',
    500: '#b42a7a',
    950: '#000000',
  },
}
SCSS
$custom: #b42a7a;
$custom-light: #cf72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a7a",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 325.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.18804,
    "h": 350.2
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#B42A7A
secondary
#72C896
accent
#E58743
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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