#B42299#B42299

#B42299 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.7% C 0.214 H 337.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B42299
RGBrgb(180, 34, 153)
HSLhsl(311, 68%, 42%)
HSVhsv(311, 81%, 71%)
CMYKcmyk(0%, 81.1%, 15%, 29.4%)
CIE-LABlab(42.99, 66.72, -30.35)
CIE-LCHlch(42.99, 73.30, 335.54°)
OKLaboklab(53.7% 0.1972 -0.0827)
OKLCHoklch(53.7% 0.214 337.3)
XYZxyz(25.1447, 13.1497, 31.3447)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42299 #22B43D
analogous
#8622B4 #B42299 #B42250
triadic
#B42299 #99B422 #2299B4
tetradic
#B42299 #B48622 #22B43D #2250B4
square
#B42299 #B48622 #22B43D #2250B4
split-complementary
#B42299 #50B422 #22B486
monochromatic
#4D0F41 #81186D #B42299 #DA3ABC #E36DCE

Accessibility & contrast

On white

5.79
#B42299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B42299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42299
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42299#FFFFFF#000000##FFFFFF
##B422991.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#BE2D5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42299;
/* rgb */ color: rgb(180, 34, 153);
/* oklch */ color: oklch(53.7% 0.214 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf70b7',
    500: '#b42299',
    950: '#000000',
  },
}
SCSS
$custom: #b42299;
$custom-light: #cf70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42299",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 311.096,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.21378,
    "h": 337.3
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#B42299
secondary
#68CA7A
accent
#EB5D3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42299

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

Preview Lab → · Contrast checker → · Palette generator →

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