#B42392#B42392

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

Color values

HEX#B42392
RGBrgb(180, 35, 146)
HSLhsl(314, 67%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 80.6%, 18.9%, 29.4%)
CIE-LABlab(42.74, 65.51, -26.51)
CIE-LCHlch(42.74, 70.68, 337.97°)
OKLaboklab(53.41% 0.1957 -0.0717)
OKLCHoklch(53.41% 0.208 339.9)
XYZxyz(24.6125, 12.9832, 28.3984)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42392 #23B445
analogous
#8E23B4 #B42392 #B4234A
triadic
#B42392 #92B423 #2392B4
tetradic
#B42392 #B48E23 #23B445 #234AB4
square
#B42392 #B48E23 #23B445 #234AB4
split-complementary
#B42392 #4AB423 #23B48E
monochromatic
#4E0F3F #811968 #B42392 #D93BB4 #E36EC8

Accessibility & contrast

On white

5.84
#B42392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42392
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42392#FFFFFF#000000##FFFFFF
##B423921.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#BF295A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42392;
/* rgb */ color: rgb(180, 35, 146);
/* oklch */ color: oklch(53.4% 0.208 339.9);
Tailwind
colors: {
  custom: {
    50: '#cf70b2',
    500: '#b42392',
    950: '#000000',
  },
}
SCSS
$custom: #b42392;
$custom-light: #cf70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42392",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 314.069,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.20844,
    "h": 339.9
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#B42392
secondary
#69C980
accent
#EA663D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42392

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

Preview Lab → · Contrast checker → · Palette generator →

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