#B42699#B42699

#B42699 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.210 H 337.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B42699
RGBrgb(180, 38, 153)
HSLhsl(311, 65%, 43%)
HSVhsv(311, 79%, 71%)
CMYKcmyk(0%, 78.9%, 15%, 29.4%)
CIE-LABlab(43.35, 65.68, -29.79)
CIE-LCHlch(43.35, 72.12, 335.60°)
OKLaboklab(53.96% 0.194 -0.0811)
OKLCHoklch(53.96% 0.21 337.3)
XYZxyz(25.2658, 13.3919, 31.3851)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42699 #26B441
analogous
#8826B4 #B42699 #B42652
triadic
#B42699 #99B426 #2699B4
tetradic
#B42699 #B48826 #26B441 #2652B4
square
#B42699 #B48826 #26B441 #2652B4
split-complementary
#B42699 #52B426 #26B488
monochromatic
#4F1143 #811B6E #B42699 #D740BA #E173CC

Accessibility & contrast

On white

5.71
#B42699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42699
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42699#FFFFFF#000000##FFFFFF
##B426991.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#BE305E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42699;
/* rgb */ color: rgb(180, 38, 153);
/* oklch */ color: oklch(54.0% 0.210 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf71b7',
    500: '#b42699',
    950: '#000000',
  },
}
SCSS
$custom: #b42699;
$custom-light: #cf71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42699",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 311.408,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.2103,
    "h": 337.3
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#B42699
secondary
#6DC97F
accent
#E86040
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42699

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

Preview Lab → · Contrast checker → · Palette generator →

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