#B54072#B54072

#B54072 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.158 H 357.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B54072
RGBrgb(181, 64, 114)
HSLhsl(334, 48%, 48%)
HSVhsv(334, 65%, 71%)
CMYKcmyk(0%, 64.6%, 37%, 29%)
CIE-LABlab(45.23, 51.78, -3.16)
CIE-LCHlch(45.23, 51.88, 356.51°)
OKLaboklab(54.86% 0.1583 -0.0076)
OKLCHoklch(54.86% 0.158 357.2)
XYZxyz(23.9281, 14.7082, 17.4952)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54072 #40B583
analogous
#B540AC #B54072 #B54840
triadic
#B54072 #72B540 #4072B5
tetradic
#B54072 #ACB540 #40B583 #4840B5
square
#B54072 #ACB540 #40B583 #4840B5
split-complementary
#B54072 #40B548 #40ACB5
monochromatic
#5B2039 #883056 #B54072 #CA6892 #DA96B3

Accessibility & contrast

On white

5.33
#B54072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B54072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54072
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54072#FFFFFF#000000##FFFFFF
##B540721.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#C33654
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b54072;
/* rgb */ color: rgb(181, 64, 114);
/* oklch */ color: oklch(54.9% 0.158 357.2);
Tailwind
colors: {
  custom: {
    50: '#cf7c9a',
    500: '#b54072',
    950: '#000000',
  },
}
SCSS
$custom: #b54072;
$custom-light: #cf7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b54072",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 334.359,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.15848,
    "h": 357.2
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#B54072
secondary
#8BC5AD
accent
#D79E50
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54072

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

Preview Lab → · Contrast checker → · Palette generator →

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