#BD5797#BD5797

#BD5797 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.3% C 0.151 H 344.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BD5797
RGBrgb(189, 87, 151)
HSLhsl(322, 44%, 54%)
HSVhsv(322, 54%, 74%)
CMYKcmyk(0%, 54%, 20.1%, 25.9%)
CIE-LABlab(51.69, 48.58, -15.61)
CIE-LCHlch(51.69, 51.03, 342.19°)
OKLaboklab(60.32% 0.145 -0.0414)
OKLCHoklch(60.32% 0.151 344.1)
XYZxyz(29.9811, 19.8721, 31.5288)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5797 #57BD7D
analogous
#B057BD #BD5797 #BD5764
triadic
#BD5797 #97BD57 #5797BD
tetradic
#BD5797 #BDB057 #57BD7D #5764BD
square
#BD5797 #BDB057 #57BD7D #5764BD
split-complementary
#BD5797 #64BD57 #57BDB0
monochromatic
#6E2B55 #9A3D77 #BD5797 #CE83B2 #E0AFCD

Accessibility & contrast

On white

4.22
#BD5797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BD5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5797
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5797#FFFFFF#000000##000000
##BD57971.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#7B8194
Tritanopia (blue-blind)
#C85770
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd5797;
/* rgb */ color: rgb(189, 87, 151);
/* oklch */ color: oklch(60.3% 0.151 344.1);
Tailwind
colors: {
  custom: {
    50: '#d38ab5',
    500: '#bd5797',
    950: '#000000',
  },
}
SCSS
$custom: #bd5797;
$custom-light: #d38ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5797",
  "rgb": {
    "r": 189,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 322.353,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6032,
    "c": 0.15077,
    "h": 344.1
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#BD5797
secondary
#A2CEB2
accent
#D38454
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BD5797

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

Preview Lab → · Contrast checker → · Palette generator →

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