#B42492#B42492

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

Color values

HEX#B42492
RGBrgb(180, 36, 146)
HSLhsl(314, 67%, 42%)
HSVhsv(314, 80%, 71%)
CMYKcmyk(0%, 80%, 18.9%, 29.4%)
CIE-LABlab(42.83, 65.26, -26.37)
CIE-LCHlch(42.83, 70.38, 338.00°)
OKLaboklab(53.48% 0.1949 -0.0713)
OKLCHoklch(53.48% 0.208 339.9)
XYZxyz(24.6423, 13.0429, 28.4083)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42492 #24B446
analogous
#8E24B4 #B42492 #B4244A
triadic
#B42492 #92B424 #2492B4
tetradic
#B42492 #B48E24 #24B446 #244AB4
square
#B42492 #B48E24 #24B446 #244AB4
split-complementary
#B42492 #4AB424 #24B48E
monochromatic
#4E103F #811A69 #B42492 #D83DB4 #E270C7

Accessibility & contrast

On white

5.82
#B42492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42492
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42492#FFFFFF#000000##FFFFFF
##B424921.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#BF2A5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42492;
/* rgb */ color: rgb(180, 36, 146);
/* oklch */ color: oklch(53.5% 0.208 339.9);
Tailwind
colors: {
  custom: {
    50: '#cf70b2',
    500: '#b42492',
    950: '#000000',
  },
}
SCSS
$custom: #b42492;
$custom-light: #cf70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42492",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 314.167,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.20758,
    "h": 339.9
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#B42492
secondary
#6BC981
accent
#EA673E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42492

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

Preview Lab → · Contrast checker → · Palette generator →

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