#B42999#B42999

#B42999 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.207 H 337.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B42999
RGBrgb(180, 41, 153)
HSLhsl(312, 63%, 43%)
HSVhsv(312, 77%, 71%)
CMYKcmyk(0%, 77.2%, 15%, 29.4%)
CIE-LABlab(43.64, 64.84, -29.33)
CIE-LCHlch(43.64, 71.16, 335.66°)
OKLaboklab(54.17% 0.1915 -0.0798)
OKLCHoklch(54.17% 0.207 337.4)
XYZxyz(25.3656, 13.5915, 31.4183)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42999 #29B444
analogous
#8929B4 #B42999 #B42953
triadic
#B42999 #99B429 #2999B4
tetradic
#B42999 #B48929 #29B444 #2953B4
square
#B42999 #B48929 #29B444 #2953B4
split-complementary
#B42999 #53B429 #29B489
monochromatic
#501244 #821E6F #B42999 #D545B9 #E077CC

Accessibility & contrast

On white

5.65
#B42999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B42999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42999
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42999#FFFFFF#000000##FFFFFF
##B429991.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9C
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#BE325F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42999;
/* rgb */ color: rgb(180, 41, 153);
/* oklch */ color: oklch(54.2% 0.207 337.4);
Tailwind
colors: {
  custom: {
    50: '#ce72b7',
    500: '#b42999',
    950: '#000000',
  },
}
SCSS
$custom: #b42999;
$custom-light: #ce72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42999",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 311.655,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.20747,
    "h": 337.4
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#B42999
secondary
#71C882
accent
#E66242
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42999

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

Preview Lab → · Contrast checker → · Palette generator →

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