#B42894#B42894

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

Color values

HEX#B42894
RGBrgb(180, 40, 148)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 77.8%, 17.8%, 29.4%)
CIE-LABlab(43.30, 64.43, -26.84)
CIE-LCHlch(43.30, 69.80, 337.38°)
OKLaboklab(53.85% 0.1919 -0.0727)
OKLCHoklch(53.85% 0.205 339.2)
XYZxyz(24.9272, 13.3615, 29.2775)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42894 #28B448
analogous
#8E28B4 #B42894 #B4284E
triadic
#B42894 #94B428 #2894B4
tetradic
#B42894 #B48E28 #28B448 #284EB4
square
#B42894 #B48E28 #28B448 #284EB4
split-complementary
#B42894 #4EB428 #28B48E
monochromatic
#501242 #821D6B #B42894 #D544B4 #E176C8

Accessibility & contrast

On white

5.72
#B42894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42894
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42894#FFFFFF#000000##FFFFFF
##B428941.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#616E91
Tritanopia (blue-blind)
#BF2E5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42894;
/* rgb */ color: rgb(180, 40, 148);
/* oklch */ color: oklch(53.8% 0.205 339.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b3',
    500: '#b42894',
    950: '#000000',
  },
}
SCSS
$custom: #b42894;
$custom-light: #cf72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42894",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 313.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.20516,
    "h": 339.2
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#B42894
secondary
#70C884
accent
#E76741
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42894

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

Preview Lab → · Contrast checker → · Palette generator →

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