#B42B8D#B42B8D

#B42B8D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.198 H 342.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B42B8D
RGBrgb(180, 43, 141)
HSLhsl(317, 61%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 76.1%, 21.7%, 29.4%)
CIE-LABlab(43.30, 62.60, -22.61)
CIE-LCHlch(43.30, 66.56, 340.14°)
OKLaboklab(53.74% 0.1882 -0.0607)
OKLCHoklch(53.74% 0.198 342.1)
XYZxyz(24.4948, 13.3567, 26.4822)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B8D #2BB452
analogous
#962BB4 #B42B8D #B42B48
triadic
#B42B8D #8DB42B #2B8DB4
tetradic
#B42B8D #B4962B #2BB452 #2B48B4
square
#B42B8D #B4962B #2BB452 #2B48B4
split-complementary
#B42B8D #48B42B #2BB496
monochromatic
#511340 #831F66 #B42B8D #D349AC #DF7AC2

Accessibility & contrast

On white

5.72
#B42B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B8D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B8D#FFFFFF#000000##FFFFFF
##B42B8D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#BF2D59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b8d;
/* rgb */ color: rgb(180, 43, 141);
/* oklch */ color: oklch(53.7% 0.198 342.1);
Tailwind
colors: {
  custom: {
    50: '#cf73ae',
    500: '#b42b8d',
    950: '#000000',
  },
}
SCSS
$custom: #b42b8d;
$custom-light: #cf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b8d",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 317.08,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.19773,
    "h": 342.1
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#B42B8D
secondary
#73C78B
accent
#E57143
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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