#B54582#B54582

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

Color values

HEX#B54582
RGBrgb(181, 69, 130)
HSLhsl(327, 45%, 49%)
HSVhsv(327, 62%, 71%)
CMYKcmyk(0%, 61.9%, 28.2%, 29%)
CIE-LABlab(46.57, 51.57, -10.91)
CIE-LCHlch(46.57, 52.71, 348.05°)
OKLaboklab(56.03% 0.1564 -0.0285)
OKLCHoklch(56.03% 0.159 349.7)
XYZxyz(25.2145, 15.6942, 22.8161)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54582 #45B578
analogous
#B045B5 #B54582 #B5454A
triadic
#B54582 #82B545 #4582B5
tetradic
#B54582 #B5B045 #45B578 #454AB5
square
#B54582 #B5B045 #45B578 #454AB5
split-complementary
#B54582 #4AB545 #45B5B0
monochromatic
#5C2342 #893462 #B54582 #C86FA0 #D99BBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54582#FFFFFF#000000##FFFFFF
##B545821.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)
#536284
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#C1415E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54582;
/* rgb */ color: rgb(181, 69, 130);
/* oklch */ color: oklch(56.0% 0.159 349.7);
Tailwind
colors: {
  custom: {
    50: '#cf7fa6',
    500: '#b54582',
    950: '#000000',
  },
}
SCSS
$custom: #b54582;
$custom-light: #cf7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54582",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 327.321,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.15897,
    "h": 349.7
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#B54582
secondary
#91C5A9
accent
#D58E53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54582

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

Preview Lab → · Contrast checker → · Palette generator →

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