#B42891#B42891

#B42891 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.203 H 340.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B42891
RGBrgb(180, 40, 145)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 77.8%, 19.4%, 29.4%)
CIE-LABlab(43.16, 64.02, -25.24)
CIE-LCHlch(43.16, 68.82, 338.48°)
OKLaboklab(53.7% 0.1915 -0.0681)
OKLCHoklch(53.7% 0.203 340.4)
XYZxyz(24.6928, 13.2677, 28.0431)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42891 #28B44B
analogous
#9128B4 #B42891 #B4284B
triadic
#B42891 #91B428 #2891B4
tetradic
#B42891 #B49128 #28B44B #284BB4
square
#B42891 #B49128 #28B44B #284BB4
split-complementary
#B42891 #4BB428 #28B491
monochromatic
#501240 #821D69 #B42891 #D544B1 #E176C6

Accessibility & contrast

On white

5.75
#B42891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42891
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42891#FFFFFF#000000##FFFFFF
##B428911.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#BF2D5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42891;
/* rgb */ color: rgb(180, 40, 145);
/* oklch */ color: oklch(53.7% 0.203 340.4);
Tailwind
colors: {
  custom: {
    50: '#cf72b1',
    500: '#b42891',
    950: '#000000',
  },
}
SCSS
$custom: #b42891;
$custom-light: #cf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42891",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 315,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.20324,
    "h": 340.4
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#B42891
secondary
#70C886
accent
#E76B41
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42891

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

Preview Lab → · Contrast checker → · Palette generator →

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