#B42594#B42594

#B42594 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.208 H 339.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B42594
RGBrgb(180, 37, 148)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 79.4%, 17.8%, 29.4%)
CIE-LABlab(43.01, 65.26, -27.29)
CIE-LCHlch(43.01, 70.74, 337.30°)
OKLaboklab(53.64% 0.1944 -0.0739)
OKLCHoklch(53.64% 0.208 339.2)
XYZxyz(24.8299, 13.1671, 29.2451)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42594 #25B445
analogous
#8D25B4 #B42594 #B4254C
triadic
#B42594 #94B425 #2594B4
tetradic
#B42594 #B48D25 #25B445 #254CB4
square
#B42594 #B48D25 #25B445 #254CB4
split-complementary
#B42594 #4CB425 #25B48D
monochromatic
#4E1041 #811B6A #B42594 #D73FB5 #E271C9

Accessibility & contrast

On white

5.78
#B42594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42594
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42594#FFFFFF#000000##FFFFFF
##B425941.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5797
Deuteranopia (green-blind)
#606D91
Tritanopia (blue-blind)
#BF2C5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42594;
/* rgb */ color: rgb(180, 37, 148);
/* oklch */ color: oklch(53.6% 0.208 339.2);
Tailwind
colors: {
  custom: {
    50: '#cf71b3',
    500: '#b42594',
    950: '#000000',
  },
}
SCSS
$custom: #b42594;
$custom-light: #cf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42594",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 313.427,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.20795,
    "h": 339.2
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42594

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

Preview Lab → · Contrast checker → · Palette generator →

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