#B42B8A#B42B8A

#B42B8A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.196 H 343.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B42B8A
RGBrgb(180, 43, 138)
HSLhsl(318, 61%, 44%)
HSVhsv(318, 76%, 71%)
CMYKcmyk(0%, 76.1%, 23.3%, 29.4%)
CIE-LABlab(43.17, 62.21, -20.98)
CIE-LCHlch(43.17, 65.65, 341.36°)
OKLaboklab(53.6% 0.1877 -0.0561)
OKLCHoklch(53.6% 0.196 343.3)
XYZxyz(24.2746, 13.2686, 25.3225)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B8A #2BB455
analogous
#992BB4 #B42B8A #B42B45
triadic
#B42B8A #8AB42B #2B8AB4
tetradic
#B42B8A #B4992B #2BB455 #2B45B4
square
#B42B8A #B4992B #2BB455 #2B45B4
split-complementary
#B42B8A #45B42B #2BB499
monochromatic
#51133E #831F64 #B42B8A #D349A9 #DF7AC0

Accessibility & contrast

On white

5.75
#B42B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42B8A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B8A#FFFFFF#000000##FFFFFF
##B42B8A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588D
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#C02B57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b8a;
/* rgb */ color: rgb(180, 43, 138);
/* oklch */ color: oklch(53.6% 0.196 343.3);
Tailwind
colors: {
  custom: {
    50: '#cf73ac',
    500: '#b42b8a',
    950: '#000000',
  },
}
SCSS
$custom: #b42b8a;
$custom-light: #cf73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b8a",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 318.394,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.1959,
    "h": 343.3
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#B42B8A
secondary
#73C78D
accent
#E57543
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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