#B54097#B54097

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

Color values

HEX#B54097
RGBrgb(181, 64, 151)
HSLhsl(315, 48%, 48%)
HSVhsv(315, 65%, 71%)
CMYKcmyk(0%, 64.6%, 16.6%, 29%)
CIE-LABlab(46.61, 56.65, -23.49)
CIE-LCHlch(46.61, 61.33, 337.48°)
OKLaboklab(56.33% 0.1678 -0.0634)
OKLCHoklch(56.33% 0.179 339.3)
XYZxyz(26.4759, 15.7273, 30.9134)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54097 #40B55E
analogous
#9940B5 #B54097 #B5405C
triadic
#B54097 #97B540 #4097B5
tetradic
#B54097 #B59940 #40B55E #405CB5
square
#B54097 #B59940 #40B55E #405CB5
split-complementary
#B54097 #5CB540 #40B599
monochromatic
#5B204C #883071 #B54097 #CA68B1 #DA96C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54097#FFFFFF#000000##FFFFFF
##B540971.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)
#46639A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#BF4466
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54097;
/* rgb */ color: rgb(181, 64, 151);
/* oklch */ color: oklch(56.3% 0.179 339.3);
Tailwind
colors: {
  custom: {
    50: '#ce7db5',
    500: '#b54097',
    950: '#000000',
  },
}
SCSS
$custom: #b54097;
$custom-light: #ce7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54097",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 315.385,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.17936,
    "h": 339.3
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#B54097
secondary
#8BC59A
accent
#D77350
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54097

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

Preview Lab → · Contrast checker → · Palette generator →

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