#B42E79#B42E79

#B42E79 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.183 H 351.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B42E79
RGBrgb(180, 46, 121)
HSLhsl(326, 59%, 44%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74.4%, 32.8%, 29.4%)
CIE-LABlab(42.82, 59.16, -11.08)
CIE-LCHlch(42.82, 60.19, 349.39°)
OKLaboklab(53.13% 0.181 -0.0288)
OKLCHoklch(53.13% 0.183 351)
XYZxyz(23.2519, 13.0405, 19.3780)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E79 #2EB469
analogous
#AC2EB4 #B42E79 #B42E36
triadic
#B42E79 #79B42E #2E79B4
tetradic
#B42E79 #B4AC2E #2EB469 #2E36B4
square
#B42E79 #B4AC2E #2EB469 #2E36B4
split-complementary
#B42E79 #36B42E #2EB4AC
monochromatic
#531537 #832258 #B42E79 #D24E97 #DE7EB4

Accessibility & contrast

On white

5.82
#B42E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E79
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E79#FFFFFF#000000##FFFFFF
##B42E791.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567B
Deuteranopia (green-blind)
#6B6E76
Tritanopia (blue-blind)
#C2244F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42e79;
/* rgb */ color: rgb(180, 46, 121);
/* oklch */ color: oklch(53.1% 0.183 351.0);
Tailwind
colors: {
  custom: {
    50: '#cf739f',
    500: '#b42e79',
    950: '#000000',
  },
}
SCSS
$custom: #b42e79;
$custom-light: #cf739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e79",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 326.418,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.18327,
    "h": 351
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#B42E79
secondary
#77C79A
accent
#E28B45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B42E79

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

Preview Lab → · Contrast checker → · Palette generator →

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