#B54074#B54074

#B54074 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.9% C 0.159 H 356.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B54074
RGBrgb(181, 64, 116)
HSLhsl(333, 48%, 48%)
HSVhsv(333, 65%, 71%)
CMYKcmyk(0%, 64.6%, 35.9%, 29%)
CIE-LABlab(45.30, 52.01, -4.29)
CIE-LCHlch(45.30, 52.19, 355.29°)
OKLaboklab(54.93% 0.159 -0.0106)
OKLCHoklch(54.93% 0.159 356.2)
XYZxyz(24.0432, 14.7542, 18.1013)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54074 #40B581
analogous
#B540AE #B54074 #B54640
triadic
#B54074 #74B540 #4074B5
tetradic
#B54074 #AEB540 #40B581 #4640B5
square
#B54074 #AEB540 #40B581 #4640B5
split-complementary
#B54074 #40B546 #40AEB5
monochromatic
#5B203A #883057 #B54074 #CA6894 #DA96B4

Accessibility & contrast

On white

5.32
#B54074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B54074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54074
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54074#FFFFFF#000000##FFFFFF
##B540741.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D75
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#C33655
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b54074;
/* rgb */ color: rgb(181, 64, 116);
/* oklch */ color: oklch(54.9% 0.159 356.2);
Tailwind
colors: {
  custom: {
    50: '#cf7c9c',
    500: '#b54074',
    950: '#000000',
  },
}
SCSS
$custom: #b54074;
$custom-light: #cf7c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b54074",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 333.333,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.15931,
    "h": 356.2
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#B54074
secondary
#8BC5AC
accent
#D79B50
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54074

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

Preview Lab → · Contrast checker → · Palette generator →

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