#B42399#B42399

#B42399 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.8% C 0.213 H 337.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B42399
RGBrgb(180, 35, 153)
HSLhsl(311, 67%, 42%)
HSVhsv(311, 81%, 71%)
CMYKcmyk(0%, 80.6%, 15%, 29.4%)
CIE-LABlab(43.07, 66.47, -30.22)
CIE-LCHlch(43.07, 73.01, 335.55°)
OKLaboklab(53.76% 0.1964 -0.0823)
OKLCHoklch(53.76% 0.213 337.3)
XYZxyz(25.1737, 13.2077, 31.3544)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42399 #23B43E
analogous
#8623B4 #B42399 #B42351
triadic
#B42399 #99B423 #2399B4
tetradic
#B42399 #B48623 #23B43E #2351B4
square
#B42399 #B48623 #23B43E #2351B4
split-complementary
#B42399 #51B423 #23B486
monochromatic
#4E0F42 #81196D #B42399 #D93BBC #E36ECD

Accessibility & contrast

On white

5.77
#B42399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B42399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42399
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42399#FFFFFF#000000##FFFFFF
##B423991.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#BE2E5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42399;
/* rgb */ color: rgb(180, 35, 153);
/* oklch */ color: oklch(53.8% 0.213 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf70b7',
    500: '#b42399',
    950: '#000000',
  },
}
SCSS
$custom: #b42399;
$custom-light: #cf70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42399",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 311.172,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.21294,
    "h": 337.3
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#B42399
secondary
#69C97B
accent
#EA5E3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42399

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

Preview Lab → · Contrast checker → · Palette generator →

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