#B42E81#B42E81

#B42E81 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.187 H 347.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B42E81
RGBrgb(180, 46, 129)
HSLhsl(323, 59%, 44%)
HSVhsv(323, 74%, 71%)
CMYKcmyk(0%, 74.4%, 28.3%, 29.4%)
CIE-LABlab(43.13, 60.12, -15.53)
CIE-LCHlch(43.13, 62.09, 345.51°)
OKLaboklab(53.46% 0.1829 -0.041)
OKLCHoklch(53.46% 0.187 347.4)
XYZxyz(23.7630, 13.2449, 22.0697)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E81 #2EB461
analogous
#A42EB4 #B42E81 #B42E3E
triadic
#B42E81 #81B42E #2E81B4
tetradic
#B42E81 #B4A42E #2EB461 #2E3EB4
square
#B42E81 #B4A42E #2EB461 #2E3EB4
split-complementary
#B42E81 #3EB42E #2EB4A4
monochromatic
#53153B #83225E #B42E81 #D24E9F #DE7EBA

Accessibility & contrast

On white

5.76
#B42E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E81
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E81#FFFFFF#000000##FFFFFF
##B42E811.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#C12954
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e81;
/* rgb */ color: rgb(180, 46, 129);
/* oklch */ color: oklch(53.5% 0.187 347.4);
Tailwind
colors: {
  custom: {
    50: '#cf74a5',
    500: '#b42e81',
    950: '#000000',
  },
}
SCSS
$custom: #b42e81;
$custom-light: #cf74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e81",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 322.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.18748,
    "h": 347.4
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#B42E81
secondary
#77C795
accent
#E28145
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E81

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

Preview Lab → · Contrast checker → · Palette generator →

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