#B54082#B54082

#B54082 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.166 H 349.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B54082
RGBrgb(181, 64, 130)
HSLhsl(326, 48%, 48%)
HSVhsv(326, 65%, 71%)
CMYKcmyk(0%, 64.6%, 28.2%, 29%)
CIE-LABlab(45.78, 53.73, -12.11)
CIE-LCHlch(45.78, 55.08, 347.30°)
OKLaboklab(55.44% 0.1631 -0.0317)
OKLCHoklch(55.44% 0.166 349)
XYZxyz(24.9198, 15.1048, 22.7179)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54082 #40B573
analogous
#AD40B5 #B54082 #B54047
triadic
#B54082 #82B540 #4082B5
tetradic
#B54082 #B5AD40 #40B573 #4047B5
square
#B54082 #B5AD40 #40B573 #4047B5
split-complementary
#B54082 #47B540 #40B5AD
monochromatic
#5B2041 #883062 #B54082 #CA689F #DA96BC

Accessibility & contrast

On white

5.22
#B54082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B54082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54082
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54082#FFFFFF#000000##FFFFFF
##B540821.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#70747F
Tritanopia (blue-blind)
#C13B5B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b54082;
/* rgb */ color: rgb(181, 64, 130);
/* oklch */ color: oklch(55.4% 0.166 349.0);
Tailwind
colors: {
  custom: {
    50: '#cf7ca6',
    500: '#b54082',
    950: '#000000',
  },
}
SCSS
$custom: #b54082;
$custom-light: #cf7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54082",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 326.154,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.16613,
    "h": 349
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#B54082
secondary
#8BC5A5
accent
#D78B50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54082

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

Preview Lab → · Contrast checker → · Palette generator →

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