#B54874#B54874

#B54874 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.9% C 0.148 H 357.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B54874
RGBrgb(181, 72, 116)
HSLhsl(336, 43%, 50%)
HSVhsv(336, 60%, 71%)
CMYKcmyk(0%, 60.2%, 35.9%, 29%)
CIE-LABlab(46.61, 48.47, -2.35)
CIE-LCHlch(46.61, 48.52, 357.22°)
OKLaboklab(55.9% 0.1478 -0.0056)
OKLCHoklch(55.9% 0.148 357.8)
XYZxyz(24.5272, 15.7221, 18.2626)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54874 #48B589
analogous
#B548AB #B54874 #B55348
triadic
#B54874 #74B548 #4874B5
tetradic
#B54874 #ABB548 #48B589 #5348B5
square
#B54874 #ABB548 #48B589 #5348B5
split-complementary
#B54874 #48B553 #48ABB5
monochromatic
#5D253C #893758 #B54874 #C77395 #D99FB6

Accessibility & contrast

On white

5.07
#B54874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B54874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54874
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54874#FFFFFF#000000##FFFFFF
##B548741.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6275
Deuteranopia (green-blind)
#777671
Tritanopia (blue-blind)
#C33F59
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54874;
/* rgb */ color: rgb(181, 72, 116);
/* oklch */ color: oklch(55.9% 0.148 357.8);
Tailwind
colors: {
  custom: {
    50: '#cf809b',
    500: '#b54874',
    950: '#000000',
  },
}
SCSS
$custom: #b54874;
$custom-light: #cf809b;
$custom-dark: #000000;
JSON
{
  "hex": "#b54874",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 335.78,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.14794,
    "h": 357.8
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#B54874
secondary
#93C5B1
accent
#D3A055
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54874

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

Preview Lab → · Contrast checker → · Palette generator →

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