#B42896#B42896

#B42896 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.206 H 338.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B42896
RGBrgb(180, 40, 150)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 71%)
CMYKcmyk(0%, 77.8%, 16.7%, 29.4%)
CIE-LABlab(43.40, 64.71, -27.90)
CIE-LCHlch(43.40, 70.47, 336.67°)
OKLaboklab(53.95% 0.1921 -0.0757)
OKLCHoklch(53.95% 0.206 338.5)
XYZxyz(25.0868, 13.4254, 30.1184)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42896 #28B446
analogous
#8C28B4 #B42896 #B42850
triadic
#B42896 #96B428 #2896B4
tetradic
#B42896 #B48C28 #28B446 #2850B4
square
#B42896 #B48C28 #28B446 #2850B4
split-complementary
#B42896 #50B428 #28B48C
monochromatic
#501243 #821D6C #B42896 #D544B6 #E176CA

Accessibility & contrast

On white

5.70
#B42896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42896
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42896#FFFFFF#000000##FFFFFF
##B428961.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#606E93
Tritanopia (blue-blind)
#BE2F5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42896;
/* rgb */ color: rgb(180, 40, 150);
/* oklch */ color: oklch(53.9% 0.206 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf72b5',
    500: '#b42896',
    950: '#000000',
  },
}
SCSS
$custom: #b42896;
$custom-light: #cf72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42896",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 312.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.20645,
    "h": 338.5
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#B42896
secondary
#70C883
accent
#E76541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42896

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

Preview Lab → · Contrast checker → · Palette generator →

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