#B42E78#B42E78

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

Color values

HEX#B42E78
RGBrgb(180, 46, 120)
HSLhsl(327, 59%, 44%)
HSVhsv(327, 74%, 71%)
CMYKcmyk(0%, 74.4%, 33.3%, 29.4%)
CIE-LABlab(42.79, 59.04, -10.52)
CIE-LCHlch(42.79, 59.97, 349.90°)
OKLaboklab(53.1% 0.1807 -0.0272)
OKLCHoklch(53.1% 0.183 351.4)
XYZxyz(23.1909, 13.0161, 19.0567)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E78 #2EB46A
analogous
#AD2EB4 #B42E78 #B42E35
triadic
#B42E78 #78B42E #2E78B4
tetradic
#B42E78 #B4AD2E #2EB46A #2E35B4
square
#B42E78 #B4AD2E #2EB46A #2E35B4
split-complementary
#B42E78 #35B42E #2EB4AD
monochromatic
#531537 #832258 #B42E78 #D24E97 #DE7EB3

Accessibility & contrast

On white

5.83
#B42E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42E78
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E78#FFFFFF#000000##FFFFFF
##B42E781.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42e78;
/* rgb */ color: rgb(180, 46, 120);
/* oklch */ color: oklch(53.1% 0.183 351.4);
Tailwind
colors: {
  custom: {
    50: '#cf739f',
    500: '#b42e78',
    950: '#000000',
  },
}
SCSS
$custom: #b42e78;
$custom-light: #cf739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e78",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 326.866,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.18278,
    "h": 351.4
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42E78

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

Preview Lab → · Contrast checker → · Palette generator →

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