#B42E8A#B42E8A

#B42E8A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.193 H 343.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B42E8A
RGBrgb(180, 46, 138)
HSLhsl(319, 59%, 44%)
HSVhsv(319, 74%, 71%)
CMYKcmyk(0%, 74.4%, 23.3%, 29.4%)
CIE-LABlab(43.50, 61.26, -20.47)
CIE-LCHlch(43.50, 64.59, 341.52°)
OKLaboklab(53.85% 0.1848 -0.0547)
OKLCHoklch(53.85% 0.193 343.5)
XYZxyz(24.3878, 13.4948, 25.3602)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E8A #2EB458
analogous
#9B2EB4 #B42E8A #B42E47
triadic
#B42E8A #8AB42E #2E8AB4
tetradic
#B42E8A #B49B2E #2EB458 #2E47B4
square
#B42E8A #B49B2E #2EB458 #2E47B4
split-complementary
#B42E8A #47B42E #2EB49B
monochromatic
#53153F #832265 #B42E8A #D24EA8 #DE7EC0

Accessibility & contrast

On white

5.68
#B42E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B42E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E8A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E8A#FFFFFF#000000##FFFFFF
##B42E8A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#C02E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42e8a;
/* rgb */ color: rgb(180, 46, 138);
/* oklch */ color: oklch(53.8% 0.193 343.5);
Tailwind
colors: {
  custom: {
    50: '#cf74ac',
    500: '#b42e8a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e8a;
$custom-light: #cf74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e8a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 318.806,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.19269,
    "h": 343.5
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#B42E8A
secondary
#77C790
accent
#E27745
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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