#B54078#B54078

#B54078 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.161 H 354.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B54078
RGBrgb(181, 64, 120)
HSLhsl(331, 48%, 48%)
HSVhsv(331, 65%, 71%)
CMYKcmyk(0%, 64.6%, 33.7%, 29%)
CIE-LABlab(45.43, 52.49, -6.54)
CIE-LCHlch(45.43, 52.89, 352.90°)
OKLaboklab(55.07% 0.1602 -0.0166)
OKLCHoklch(55.07% 0.161 354.1)
XYZxyz(24.2809, 14.8493, 19.3532)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54078 #40B57D
analogous
#B540B2 #B54078 #B54240
triadic
#B54078 #78B540 #4078B5
tetradic
#B54078 #B2B540 #40B57D #4240B5
square
#B54078 #B2B540 #40B57D #4240B5
split-complementary
#B54078 #40B542 #40B2B5
monochromatic
#5B203C #88305A #B54078 #CA6897 #DA96B6

Accessibility & contrast

On white

5.29
#B54078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B54078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54078
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54078#FFFFFF#000000##FFFFFF
##B540781.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#C33857
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b54078;
/* rgb */ color: rgb(181, 64, 120);
/* oklch */ color: oklch(55.1% 0.161 354.1);
Tailwind
colors: {
  custom: {
    50: '#cf7c9f',
    500: '#b54078',
    950: '#000000',
  },
}
SCSS
$custom: #b54078;
$custom-light: #cf7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b54078",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 331.282,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55068,
    "c": 0.16106,
    "h": 354.1
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#B54078
secondary
#8BC5AA
accent
#D79750
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54078

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

Preview Lab → · Contrast checker → · Palette generator →

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