#B42B81#B42B81

#B42B81 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.191 H 347.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B42B81
RGBrgb(180, 43, 129)
HSLhsl(322, 61%, 44%)
HSVhsv(322, 76%, 71%)
CMYKcmyk(0%, 76.1%, 28.3%, 29.4%)
CIE-LABlab(42.79, 61.07, -16.05)
CIE-LCHlch(42.79, 63.15, 345.27°)
OKLaboklab(53.21% 0.1859 -0.0424)
OKLCHoklch(53.21% 0.191 347.2)
XYZxyz(23.6499, 13.0187, 22.0320)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B81 #2BB45E
analogous
#A22BB4 #B42B81 #B42B3C
triadic
#B42B81 #81B42B #2B81B4
tetradic
#B42B81 #B4A22B #2BB45E #2B3CB4
square
#B42B81 #B4A22B #2BB45E #2B3CB4
split-complementary
#B42B81 #3CB42B #2BB4A2
monochromatic
#51133A #831F5E #B42B81 #D349A0 #DF7ABA

Accessibility & contrast

On white

5.83
#B42B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42B81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B81
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B81#FFFFFF#000000##FFFFFF
##B42B811.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#686E7E
Tritanopia (blue-blind)
#C12653
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42b81;
/* rgb */ color: rgb(180, 43, 129);
/* oklch */ color: oklch(53.2% 0.191 347.2);
Tailwind
colors: {
  custom: {
    50: '#cf72a5',
    500: '#b42b81',
    950: '#000000',
  },
}
SCSS
$custom: #b42b81;
$custom-light: #cf72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b81",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 322.336,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.19069,
    "h": 347.2
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#B42B81
secondary
#73C793
accent
#E57F43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42B81

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

Preview Lab → · Contrast checker → · Palette generator →

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