#B42E7A#B42E7A

#B42E7A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.184 H 350.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B42E7A
RGBrgb(180, 46, 122)
HSLhsl(326, 59%, 44%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74.4%, 32.2%, 29.4%)
CIE-LABlab(42.86, 59.28, -11.64)
CIE-LCHlch(42.86, 60.41, 348.89°)
OKLaboklab(53.17% 0.1813 -0.0303)
OKLCHoklch(53.17% 0.184 350.5)
XYZxyz(23.3135, 13.0651, 19.7027)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E7A #2EB468
analogous
#AB2EB4 #B42E7A #B42E37
triadic
#B42E7A #7AB42E #2E7AB4
tetradic
#B42E7A #B4AB2E #2EB468 #2E37B4
square
#B42E7A #B4AB2E #2EB468 #2E37B4
split-complementary
#B42E7A #37B42E #2EB4AB
monochromatic
#531538 #832259 #B42E7A #D24E98 #DE7EB5

Accessibility & contrast

On white

5.81
#B42E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E7A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E7A#FFFFFF#000000##FFFFFF
##B42E7A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567C
Deuteranopia (green-blind)
#6B6E77
Tritanopia (blue-blind)
#C12550
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42e7a;
/* rgb */ color: rgb(180, 46, 122);
/* oklch */ color: oklch(53.2% 0.184 350.5);
Tailwind
colors: {
  custom: {
    50: '#cf73a0',
    500: '#b42e7a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e7a;
$custom-light: #cf73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e7a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 325.97,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.18377,
    "h": 350.5
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#B42E7A
secondary
#77C79A
accent
#E28945
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B42E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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