#B42E77#B42E77

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

Color values

HEX#B42E77
RGBrgb(180, 46, 119)
HSLhsl(327, 59%, 44%)
HSVhsv(327, 74%, 71%)
CMYKcmyk(0%, 74.4%, 33.9%, 29.4%)
CIE-LABlab(42.75, 58.93, -9.95)
CIE-LCHlch(42.75, 59.76, 350.41°)
OKLaboklab(53.06% 0.1805 -0.0257)
OKLCHoklch(53.06% 0.182 351.9)
XYZxyz(23.1305, 12.9919, 18.7388)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E77 #2EB46B
analogous
#AE2EB4 #B42E77 #B42E34
triadic
#B42E77 #77B42E #2E77B4
tetradic
#B42E77 #B4AE2E #2EB46B #2E34B4
square
#B42E77 #B4AE2E #2EB46B #2E34B4
split-complementary
#B42E77 #34B42E #2EB4AE
monochromatic
#531537 #832257 #B42E77 #D24E96 #DE7EB2

Accessibility & contrast

On white

5.84
#B42E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E77
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E77#FFFFFF#000000##FFFFFF
##B42E771.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465679
Deuteranopia (green-blind)
#6C6E74
Tritanopia (blue-blind)
#C2234E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42e77;
/* rgb */ color: rgb(180, 46, 119);
/* oklch */ color: oklch(53.1% 0.182 351.9);
Tailwind
colors: {
  custom: {
    50: '#cf739e',
    500: '#b42e77',
    950: '#000000',
  },
}
SCSS
$custom: #b42e77;
$custom-light: #cf739e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e77",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 327.313,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.18229,
    "h": 351.9
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#B42E77
secondary
#77C79B
accent
#E28D45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B42E77

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

Preview Lab → · Contrast checker → · Palette generator →

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