#B42794#B42794

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

Color values

HEX#B42794
RGBrgb(180, 39, 148)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 78.3%, 17.8%, 29.4%)
CIE-LABlab(43.20, 64.71, -27.00)
CIE-LCHlch(43.20, 70.12, 337.36°)
OKLaboklab(53.78% 0.1927 -0.0731)
OKLCHoklch(53.78% 0.206 339.2)
XYZxyz(24.8939, 13.2949, 29.2664)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42794 #27B447
analogous
#8D27B4 #B42794 #B4274D
triadic
#B42794 #94B427 #2794B4
tetradic
#B42794 #B48D27 #27B447 #274DB4
square
#B42794 #B48D27 #27B447 #274DB4
split-complementary
#B42794 #4DB427 #27B48D
monochromatic
#4F1141 #821C6B #B42794 #D642B4 #E174C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42794#FFFFFF#000000##FFFFFF
##B427941.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)
#315897
Deuteranopia (green-blind)
#606E91
Tritanopia (blue-blind)
#BF2E5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42794;
/* rgb */ color: rgb(180, 39, 148);
/* oklch */ color: oklch(53.8% 0.206 339.2);
Tailwind
colors: {
  custom: {
    50: '#cf71b3',
    500: '#b42794',
    950: '#000000',
  },
}
SCSS
$custom: #b42794;
$custom-light: #cf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42794",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 313.617,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.20611,
    "h": 339.2
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#B42794
secondary
#6FC883
accent
#E76640
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42794

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

Preview Lab → · Contrast checker → · Palette generator →

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