#B42893#B42893

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

Color values

HEX#B42893
RGBrgb(180, 40, 147)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 77.8%, 18.3%, 29.4%)
CIE-LABlab(43.26, 64.29, -26.31)
CIE-LCHlch(43.26, 69.47, 337.75°)
OKLaboklab(53.8% 0.1917 -0.0712)
OKLCHoklch(53.8% 0.205 339.6)
XYZxyz(24.8483, 13.3300, 28.8624)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42893 #28B449
analogous
#8F28B4 #B42893 #B4284D
triadic
#B42893 #93B428 #2893B4
tetradic
#B42893 #B48F28 #28B449 #284DB4
square
#B42893 #B48F28 #28B449 #284DB4
split-complementary
#B42893 #4DB428 #28B48F
monochromatic
#501241 #821D6A #B42893 #D544B3 #E176C7

Accessibility & contrast

On white

5.73
#B42893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42893
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42893#FFFFFF#000000##FFFFFF
##B428931.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#BF2E5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42893;
/* rgb */ color: rgb(180, 40, 147);
/* oklch */ color: oklch(53.8% 0.205 339.6);
Tailwind
colors: {
  custom: {
    50: '#cf72b3',
    500: '#b42893',
    950: '#000000',
  },
}
SCSS
$custom: #b42893;
$custom-light: #cf72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42893",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 314.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.20451,
    "h": 339.6
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42893

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

Preview Lab → · Contrast checker → · Palette generator →

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