#B42391#B42391

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

Color values

HEX#B42391
RGBrgb(180, 35, 145)
HSLhsl(314, 67%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 80.6%, 19.4%, 29.4%)
CIE-LABlab(42.69, 65.38, -25.98)
CIE-LCHlch(42.69, 70.35, 338.33°)
OKLaboklab(53.36% 0.1956 -0.0702)
OKLCHoklch(53.36% 0.208 340.3)
XYZxyz(24.5350, 12.9522, 27.9905)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42391 #23B446
analogous
#8F23B4 #B42391 #B42348
triadic
#B42391 #91B423 #2391B4
tetradic
#B42391 #B48F23 #23B446 #2348B4
square
#B42391 #B48F23 #23B446 #2348B4
split-complementary
#B42391 #48B423 #23B48F
monochromatic
#4E0F3E #811968 #B42391 #D93BB3 #E36EC7

Accessibility & contrast

On white

5.85
#B42391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42391
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42391#FFFFFF#000000##FFFFFF
##B423911.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#BF2859
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42391;
/* rgb */ color: rgb(180, 35, 145);
/* oklch */ color: oklch(53.4% 0.208 340.3);
Tailwind
colors: {
  custom: {
    50: '#cf70b1',
    500: '#b42391',
    950: '#000000',
  },
}
SCSS
$custom: #b42391;
$custom-light: #cf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42391",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 314.483,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.20783,
    "h": 340.3
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#B42391
secondary
#69C981
accent
#EA673D
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42391

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

Preview Lab → · Contrast checker → · Palette generator →

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