#B42892#B42892

#B42892 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.204 H 340.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B42892
RGBrgb(180, 40, 146)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 77.8%, 18.9%, 29.4%)
CIE-LABlab(43.21, 64.16, -25.78)
CIE-LCHlch(43.21, 69.14, 338.11°)
OKLaboklab(53.75% 0.1916 -0.0697)
OKLCHoklch(53.75% 0.204 340)
XYZxyz(24.7702, 13.2987, 28.4510)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42892 #28B44A
analogous
#9028B4 #B42892 #B4284C
triadic
#B42892 #92B428 #2892B4
tetradic
#B42892 #B49028 #28B44A #284CB4
square
#B42892 #B49028 #28B44A #284CB4
split-complementary
#B42892 #4CB428 #28B490
monochromatic
#501241 #821D69 #B42892 #D544B2 #E176C7

Accessibility & contrast

On white

5.74
#B42892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42892
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42892#FFFFFF#000000##FFFFFF
##B428921.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335895
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#BF2D5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42892;
/* rgb */ color: rgb(180, 40, 146);
/* oklch */ color: oklch(53.8% 0.204 340.0);
Tailwind
colors: {
  custom: {
    50: '#cf72b2',
    500: '#b42892',
    950: '#000000',
  },
}
SCSS
$custom: #b42892;
$custom-light: #cf72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42892",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 314.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.20387,
    "h": 340
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#B42892
secondary
#70C885
accent
#E76941
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42892

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

Preview Lab → · Contrast checker → · Palette generator →

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