#BD5197#BD5197

#BD5197 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.5% C 0.160 H 343.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BD5197
RGBrgb(189, 81, 151)
HSLhsl(321, 45%, 53%)
HSVhsv(321, 57%, 74%)
CMYKcmyk(0%, 57.1%, 20.1%, 25.9%)
CIE-LABlab(50.62, 51.44, -17.24)
CIE-LCHlch(50.62, 54.26, 341.47°)
OKLaboklab(59.52% 0.1536 -0.0459)
OKLCHoklch(59.52% 0.16 343.4)
XYZxyz(29.5153, 18.9406, 31.3736)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5197 #51BD77
analogous
#AD51BD #BD5197 #BD5161
triadic
#BD5197 #97BD51 #5197BD
tetradic
#BD5197 #BDAD51 #51BD77 #5161BD
square
#BD5197 #BDAD51 #51BD77 #5161BD
split-complementary
#BD5197 #61BD51 #51BDAD
monochromatic
#6B2954 #973976 #BD5197 #CE7DB2 #DFAACC

Accessibility & contrast

On white

4.39
#BD5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BD5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5197
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5197#FFFFFF#000000##000000
##BD51971.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#C8516D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd5197;
/* rgb */ color: rgb(189, 81, 151);
/* oklch */ color: oklch(59.5% 0.160 343.4);
Tailwind
colors: {
  custom: {
    50: '#d487b5',
    500: '#bd5197',
    950: '#000000',
  },
}
SCSS
$custom: #bd5197;
$custom-light: #d487b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5197",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 321.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.16029,
    "h": 343.4
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#BD5197
secondary
#9ECCAE
accent
#D58153
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #BD5197

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

Preview Lab → · Contrast checker → · Palette generator →

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