#B42491#B42491

#B42491 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.207 H 340.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B42491
RGBrgb(180, 36, 145)
HSLhsl(315, 67%, 42%)
HSVhsv(315, 80%, 71%)
CMYKcmyk(0%, 80%, 19.4%, 29.4%)
CIE-LABlab(42.78, 65.12, -25.84)
CIE-LCHlch(42.78, 70.06, 338.36°)
OKLaboklab(53.43% 0.1948 -0.0698)
OKLCHoklch(53.43% 0.207 340.3)
XYZxyz(24.5649, 13.0119, 28.0004)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42491 #24B447
analogous
#8F24B4 #B42491 #B42449
triadic
#B42491 #91B424 #2491B4
tetradic
#B42491 #B48F24 #24B447 #2449B4
square
#B42491 #B48F24 #24B447 #2449B4
split-complementary
#B42491 #49B424 #24B48F
monochromatic
#4E103F #811A68 #B42491 #D83DB2 #E270C7

Accessibility & contrast

On white

5.83
#B42491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42491
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42491#FFFFFF#000000##FFFFFF
##B424911.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305794
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#BF2959
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42491;
/* rgb */ color: rgb(180, 36, 145);
/* oklch */ color: oklch(53.4% 0.207 340.3);
Tailwind
colors: {
  custom: {
    50: '#cf70b1',
    500: '#b42491',
    950: '#000000',
  },
}
SCSS
$custom: #b42491;
$custom-light: #cf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42491",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 314.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.20695,
    "h": 340.3
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#B42491
secondary
#6BC982
accent
#EA683E
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42491

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

Preview Lab → · Contrast checker → · Palette generator →

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