#B42593#B42593

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

Color values

HEX#B42593
RGBrgb(180, 37, 147)
HSLhsl(314, 66%, 43%)
HSVhsv(314, 79%, 71%)
CMYKcmyk(0%, 79.4%, 18.3%, 29.4%)
CIE-LABlab(42.97, 65.13, -26.76)
CIE-LCHlch(42.97, 70.41, 337.66°)
OKLaboklab(53.59% 0.1943 -0.0724)
OKLCHoklch(53.59% 0.207 339.5)
XYZxyz(24.7511, 13.1355, 28.8300)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42593 #25B446
analogous
#8D25B4 #B42593 #B4254C
triadic
#B42593 #93B425 #2593B4
tetradic
#B42593 #B48D25 #25B446 #254CB4
square
#B42593 #B48D25 #25B446 #254CB4
split-complementary
#B42593 #4CB425 #25B48D
monochromatic
#4E1040 #811B6A #B42593 #D73FB4 #E271C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42593#FFFFFF#000000##FFFFFF
##B425931.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)
#305796
Deuteranopia (green-blind)
#606D90
Tritanopia (blue-blind)
#BF2B5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42593;
/* rgb */ color: rgb(180, 37, 147);
/* oklch */ color: oklch(53.6% 0.207 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf71b3',
    500: '#b42593',
    950: '#000000',
  },
}
SCSS
$custom: #b42593;
$custom-light: #cf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42593",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 313.846,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.20732,
    "h": 339.5
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#B42593
secondary
#6CC981
accent
#E9663F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42593

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

Preview Lab → · Contrast checker → · Palette generator →

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