#B42A7C#B42A7C

#B42A7C is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.189 H 349.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B42A7C
RGBrgb(180, 42, 124)
HSLhsl(324, 62%, 44%)
HSVhsv(324, 77%, 71%)
CMYKcmyk(0%, 76.7%, 31.1%, 29.4%)
CIE-LABlab(42.49, 60.78, -13.44)
CIE-LCHlch(42.49, 62.25, 347.53°)
OKLaboklab(52.92% 0.1858 -0.0352)
OKLCHoklch(52.92% 0.189 349.3)
XYZxyz(23.2897, 12.8172, 20.3124)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A7C #2AB462
analogous
#A72AB4 #B42A7C #B42A37
triadic
#B42A7C #7CB42A #2A7CB4
tetradic
#B42A7C #B4A72A #2AB462 #2A37B4
square
#B42A7C #B4A72A #2AB462 #2A37B4
split-complementary
#B42A7C #37B42A #2AB4A7
monochromatic
#511338 #821E5A #B42A7C #D4479B #E079B6

Accessibility & contrast

On white

5.89
#B42A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B42A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A7C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A7C#FFFFFF#000000##FFFFFF
##B42A7C1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#C12150
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42a7c;
/* rgb */ color: rgb(180, 42, 124);
/* oklch */ color: oklch(52.9% 0.189 349.3);
Tailwind
colors: {
  custom: {
    50: '#cf72a2',
    500: '#b42a7c',
    950: '#000000',
  },
}
SCSS
$custom: #b42a7c;
$custom-light: #cf72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a7c",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 324.348,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.18906,
    "h": 349.3
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#B42A7C
secondary
#72C895
accent
#E58543
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B42A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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