#B54182#B54182

#B54182 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.165 H 349.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B54182
RGBrgb(181, 65, 130)
HSLhsl(326, 47%, 48%)
HSVhsv(326, 64%, 71%)
CMYKcmyk(0%, 64.1%, 28.2%, 29%)
CIE-LABlab(45.93, 53.31, -11.88)
CIE-LCHlch(45.93, 54.62, 347.44°)
OKLaboklab(55.56% 0.1618 -0.0311)
OKLCHoklch(55.56% 0.165 349.1)
XYZxyz(24.9767, 15.2186, 22.7369)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54182 #41B574
analogous
#AE41B5 #B54182 #B54148
triadic
#B54182 #82B541 #4182B5
tetradic
#B54182 #B5AE41 #41B574 #4148B5
square
#B54182 #B5AE41 #41B574 #4148B5
split-complementary
#B54182 #48B541 #41B5AE
monochromatic
#5B2141 #883162 #B54182 #C96A9F #DA97BC

Accessibility & contrast

On white

5.19
#B54182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B54182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54182
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54182#FFFFFF#000000##FFFFFF
##B541821.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#71747F
Tritanopia (blue-blind)
#C13C5C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54182;
/* rgb */ color: rgb(181, 65, 130);
/* oklch */ color: oklch(55.6% 0.165 349.1);
Tailwind
colors: {
  custom: {
    50: '#cf7da6',
    500: '#b54182',
    950: '#000000',
  },
}
SCSS
$custom: #b54182;
$custom-light: #cf7da6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54182",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 326.379,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.16472,
    "h": 349.1
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#B54182
secondary
#8CC5A5
accent
#D78C51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54182

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

Preview Lab → · Contrast checker → · Palette generator →

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