#B42494#B42494

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

Color values

HEX#B42494
RGBrgb(180, 36, 148)
HSLhsl(313, 67%, 42%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 80%, 17.8%, 29.4%)
CIE-LABlab(42.92, 65.52, -27.44)
CIE-LCHlch(42.92, 71.04, 337.28°)
OKLaboklab(53.58% 0.1952 -0.0743)
OKLCHoklch(53.58% 0.209 339.1)
XYZxyz(24.7992, 13.1057, 29.2348)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42494 #24B444
analogous
#8C24B4 #B42494 #B4244C
triadic
#B42494 #94B424 #2494B4
tetradic
#B42494 #B48C24 #24B444 #244CB4
square
#B42494 #B48C24 #24B444 #244CB4
split-complementary
#B42494 #4CB424 #24B48C
monochromatic
#4E1040 #811A6A #B42494 #D83DB6 #E270C9

Accessibility & contrast

On white

5.80
#B42494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42494
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42494#FFFFFF#000000##FFFFFF
##B424941.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#5F6D91
Tritanopia (blue-blind)
#BF2B5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42494;
/* rgb */ color: rgb(180, 36, 148);
/* oklch */ color: oklch(53.6% 0.209 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b42494',
    950: '#000000',
  },
}
SCSS
$custom: #b42494;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42494",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 313.333,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.20884,
    "h": 339.1
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42494

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

Preview Lab → · Contrast checker → · Palette generator →

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