#B54792#B54792

#B54792 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.9% C 0.166 H 342.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B54792
RGBrgb(181, 71, 146)
HSLhsl(319, 44%, 49%)
HSVhsv(319, 61%, 71%)
CMYKcmyk(0%, 60.8%, 19.3%, 29%)
CIE-LABlab(47.51, 52.91, -19.13)
CIE-LCHlch(47.51, 56.26, 340.12°)
OKLaboklab(56.92% 0.1577 -0.0512)
OKLCHoklch(56.92% 0.166 342)
XYZxyz(26.4983, 16.4079, 28.9600)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54792 #47B56A
analogous
#A147B5 #B54792 #B5475B
triadic
#B54792 #92B547 #4792B5
tetradic
#B54792 #B5A147 #47B56A #475BB5
square
#B54792 #B5A147 #47B56A #475BB5
split-complementary
#B54792 #5BB547 #47B5A1
monochromatic
#5D254B #89366F #B54792 #C872AC #D99EC6

Accessibility & contrast

On white

4.91
#B54792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B54792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54792
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54792#FFFFFF#000000##FFFFFF
##B547921.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6594
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#BF4866
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b54792;
/* rgb */ color: rgb(181, 71, 146);
/* oklch */ color: oklch(56.9% 0.166 342.0);
Tailwind
colors: {
  custom: {
    50: '#ce80b2',
    500: '#b54792',
    950: '#000000',
  },
}
SCSS
$custom: #b54792;
$custom-light: #ce80b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54792",
  "rgb": {
    "r": 181,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 319.091,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.16582,
    "h": 342
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#B54792
secondary
#93C5A3
accent
#D37D54
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54792

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

Preview Lab → · Contrast checker → · Palette generator →

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