#B42E9A#B42E9A

#B42E9A is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.6% C 0.203 H 337.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B42E9A
RGBrgb(180, 46, 154)
HSLhsl(312, 59%, 44%)
HSVhsv(312, 74%, 71%)
CMYKcmyk(0%, 74.4%, 14.4%, 29.4%)
CIE-LABlab(44.22, 63.46, -29.02)
CIE-LCHlch(44.22, 69.78, 335.42°)
OKLaboklab(54.61% 0.1871 -0.079)
OKLCHoklch(54.61% 0.203 337.1)
XYZxyz(25.6326, 13.9928, 31.9165)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E9A #2EB448
analogous
#8B2EB4 #B42E9A #B42E57
triadic
#B42E9A #9AB42E #2E9AB4
tetradic
#B42E9A #B48B2E #2EB448 #2E57B4
square
#B42E9A #B48B2E #2EB448 #2E57B4
split-complementary
#B42E9A #57B42E #2EB48B
monochromatic
#531547 #832270 #B42E9A #D24EB8 #DE7ECC

Accessibility & contrast

On white

5.53
#B42E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B42E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E9A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E9A#FFFFFF#000000##FFFFFF
##B42E9A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#BE3661
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b42e9a;
/* rgb */ color: rgb(180, 46, 154);
/* oklch */ color: oklch(54.6% 0.203 337.1);
Tailwind
colors: {
  custom: {
    50: '#ce74b8',
    500: '#b42e9a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e9a;
$custom-light: #ce74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e9a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 311.642,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.20303,
    "h": 337.1
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#B42E9A
secondary
#77C786
accent
#E26445
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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