#B42B8B#B42B8B

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

Color values

HEX#B42B8B
RGBrgb(180, 43, 139)
HSLhsl(318, 61%, 44%)
HSVhsv(318, 76%, 71%)
CMYKcmyk(0%, 76.1%, 22.8%, 29.4%)
CIE-LABlab(43.21, 62.34, -21.53)
CIE-LCHlch(43.21, 65.95, 340.95°)
OKLaboklab(53.65% 0.1879 -0.0577)
OKLCHoklch(53.65% 0.197 342.9)
XYZxyz(24.3474, 13.2977, 25.7056)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B8B #2BB454
analogous
#982BB4 #B42B8B #B42B46
triadic
#B42B8B #8BB42B #2B8BB4
tetradic
#B42B8B #B4982B #2BB454 #2B46B4
square
#B42B8B #B4982B #2BB454 #2B46B4
split-complementary
#B42B8B #46B42B #2BB498
monochromatic
#51133F #831F65 #B42B8B #D349AA #DF7AC1

Accessibility & contrast

On white

5.74
#B42B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B8B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B8B#FFFFFF#000000##FFFFFF
##B42B8B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#C02C58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b8b;
/* rgb */ color: rgb(180, 43, 139);
/* oklch */ color: oklch(53.6% 0.197 342.9);
Tailwind
colors: {
  custom: {
    50: '#cf73ad',
    500: '#b42b8b',
    950: '#000000',
  },
}
SCSS
$custom: #b42b8b;
$custom-light: #cf73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b8b",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 317.956,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.1965,
    "h": 342.9
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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