#B42493#B42493

#B42493 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.208 H 339.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B42493
RGBrgb(180, 36, 147)
HSLhsl(314, 67%, 42%)
HSVhsv(314, 80%, 71%)
CMYKcmyk(0%, 80%, 18.3%, 29.4%)
CIE-LABlab(42.87, 65.39, -26.90)
CIE-LCHlch(42.87, 70.71, 337.64°)
OKLaboklab(53.53% 0.1951 -0.0728)
OKLCHoklch(53.53% 0.208 339.5)
XYZxyz(24.7204, 13.0741, 28.8198)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42493 #24B445
analogous
#8D24B4 #B42493 #B4244B
triadic
#B42493 #93B424 #2493B4
tetradic
#B42493 #B48D24 #24B445 #244BB4
square
#B42493 #B48D24 #24B445 #244BB4
split-complementary
#B42493 #4BB424 #24B48D
monochromatic
#4E1040 #811A69 #B42493 #D83DB5 #E270C8

Accessibility & contrast

On white

5.81
#B42493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42493
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42493#FFFFFF#000000##FFFFFF
##B424931.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#606D90
Tritanopia (blue-blind)
#BF2B5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42493;
/* rgb */ color: rgb(180, 36, 147);
/* oklch */ color: oklch(53.5% 0.208 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b42493',
    950: '#000000',
  },
}
SCSS
$custom: #b42493;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42493",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 313.75,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.20821,
    "h": 339.5
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#B42493
secondary
#6BC980
accent
#EA653E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42493

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

Preview Lab → · Contrast checker → · Palette generator →

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