#B42499#B42499

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

Color values

HEX#B42499
RGBrgb(180, 36, 153)
HSLhsl(311, 67%, 42%)
HSVhsv(311, 80%, 71%)
CMYKcmyk(0%, 80%, 15%, 29.4%)
CIE-LABlab(43.16, 66.21, -30.08)
CIE-LCHlch(43.16, 72.72, 335.57°)
OKLaboklab(53.83% 0.1956 -0.0819)
OKLCHoklch(53.83% 0.212 337.3)
XYZxyz(25.2036, 13.2674, 31.3643)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42499 #24B43F
analogous
#8724B4 #B42499 #B42451
triadic
#B42499 #99B424 #2499B4
tetradic
#B42499 #B48724 #24B43F #2451B4
square
#B42499 #B48724 #24B43F #2451B4
split-complementary
#B42499 #51B424 #24B487
monochromatic
#4E1042 #811A6E #B42499 #D83DBB #E270CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42499#FFFFFF#000000##FFFFFF
##B424991.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)
#2A589C
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#BE2E5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42499;
/* rgb */ color: rgb(180, 36, 153);
/* oklch */ color: oklch(53.8% 0.212 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf71b7',
    500: '#b42499',
    950: '#000000',
  },
}
SCSS
$custom: #b42499;
$custom-light: #cf71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42499",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 311.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.21208,
    "h": 337.3
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#B42499
secondary
#6BC97C
accent
#EA5E3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42499

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

Preview Lab → · Contrast checker → · Palette generator →

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