#B42792#B42792

#B42792 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.205 H 340.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B42792
RGBrgb(180, 39, 146)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 78.3%, 18.9%, 29.4%)
CIE-LABlab(43.11, 64.44, -25.93)
CIE-LCHlch(43.11, 69.46, 338.08°)
OKLaboklab(53.68% 0.1925 -0.0701)
OKLCHoklch(53.68% 0.205 340)
XYZxyz(24.7369, 13.2322, 28.4399)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42792 #27B449
analogous
#8F27B4 #B42792 #B4274B
triadic
#B42792 #92B427 #2792B4
tetradic
#B42792 #B48F27 #27B449 #274BB4
square
#B42792 #B48F27 #27B449 #274BB4
split-complementary
#B42792 #4BB427 #27B48F
monochromatic
#4F1140 #821C69 #B42792 #D642B2 #E174C7

Accessibility & contrast

On white

5.76
#B42792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42792
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42792#FFFFFF#000000##FFFFFF
##B427921.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325895
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#BF2C5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42792;
/* rgb */ color: rgb(180, 39, 146);
/* oklch */ color: oklch(53.7% 0.205 340.0);
Tailwind
colors: {
  custom: {
    50: '#cf71b2',
    500: '#b42792',
    950: '#000000',
  },
}
SCSS
$custom: #b42792;
$custom-light: #cf71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42792",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 314.468,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.20483,
    "h": 340
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#B42792
secondary
#6FC884
accent
#E76940
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42792

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

Preview Lab → · Contrast checker → · Palette generator →

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