#B42E84#B42E84

#B42E84 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.189 H 346.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B42E84
RGBrgb(180, 46, 132)
HSLhsl(321, 59%, 44%)
HSVhsv(321, 74%, 71%)
CMYKcmyk(0%, 74.4%, 26.7%, 29.4%)
CIE-LABlab(43.25, 60.49, -17.19)
CIE-LCHlch(43.25, 62.88, 344.14°)
OKLaboklab(53.58% 0.1836 -0.0456)
OKLCHoklch(53.58% 0.189 346.1)
XYZxyz(23.9653, 13.3259, 23.1354)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E84 #2EB45E
analogous
#A12EB4 #B42E84 #B42E41
triadic
#B42E84 #84B42E #2E84B4
tetradic
#B42E84 #B4A12E #2EB45E #2E41B4
square
#B42E84 #B4A12E #2EB45E #2E41B4
split-complementary
#B42E84 #41B42E #2EB4A1
monochromatic
#53153D #832260 #B42E84 #D24EA2 #DE7EBC

Accessibility & contrast

On white

5.73
#B42E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E84
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E84#FFFFFF#000000##FFFFFF
##B42E841.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405886
Deuteranopia (green-blind)
#686E81
Tritanopia (blue-blind)
#C02B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e84;
/* rgb */ color: rgb(180, 46, 132);
/* oklch */ color: oklch(53.6% 0.189 346.1);
Tailwind
colors: {
  custom: {
    50: '#cf74a8',
    500: '#b42e84',
    950: '#000000',
  },
}
SCSS
$custom: #b42e84;
$custom-light: #cf74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e84",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 321.493,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.18916,
    "h": 346.1
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#B42E84
secondary
#77C794
accent
#E27E45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E84

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

Preview Lab → · Contrast checker → · Palette generator →

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