#B42A79#B42A79

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

Color values

HEX#B42A79
RGBrgb(180, 42, 121)
HSLhsl(326, 62%, 44%)
HSVhsv(326, 77%, 71%)
CMYKcmyk(0%, 76.7%, 32.8%, 29.4%)
CIE-LABlab(42.37, 60.44, -11.76)
CIE-LCHlch(42.37, 61.57, 348.99°)
OKLaboklab(52.8% 0.185 -0.0306)
OKLCHoklch(52.8% 0.188 350.6)
XYZxyz(23.1029, 12.7424, 19.3284)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A79 #2AB465
analogous
#AA2AB4 #B42A79 #B42A34
triadic
#B42A79 #79B42A #2A79B4
tetradic
#B42A79 #B4AA2A #2AB465 #2A34B4
square
#B42A79 #B4AA2A #2AB465 #2A34B4
split-complementary
#B42A79 #34B42A #2AB4AA
monochromatic
#511336 #821E58 #B42A79 #D44798 #E079B4

Accessibility & contrast

On white

5.92
#B42A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42A79
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A79#FFFFFF#000000##FFFFFF
##B42A791.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547B
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#C21F4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42a79;
/* rgb */ color: rgb(180, 42, 121);
/* oklch */ color: oklch(52.8% 0.188 350.6);
Tailwind
colors: {
  custom: {
    50: '#cf729f',
    500: '#b42a79',
    950: '#000000',
  },
}
SCSS
$custom: #b42a79;
$custom-light: #cf729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a79",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 325.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.18753,
    "h": 350.6
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#B42A79
secondary
#72C897
accent
#E58843
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42A79

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

Preview Lab → · Contrast checker → · Palette generator →

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