#BD3198#BD3198

#BD3198 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.204 H 340.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BD3198
RGBrgb(189, 49, 152)
HSLhsl(316, 59%, 47%)
HSVhsv(316, 74%, 74%)
CMYKcmyk(0%, 74.1%, 19.6%, 25.9%)
CIE-LABlab(46.02, 64.37, -24.90)
CIE-LCHlch(46.02, 69.02, 338.85°)
OKLaboklab(56.17% 0.1925 -0.0671)
OKLCHoklch(56.17% 0.204 340.8)
XYZxyz(27.7529, 15.2852, 31.1884)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3198 #31BD56
analogous
#9C31BD #BD3198 #BD3152
triadic
#BD3198 #98BD31 #3198BD
tetradic
#BD3198 #BD9C31 #31BD56 #3152BD
square
#BD3198 #BD9C31 #31BD56 #3152BD
split-complementary
#BD3198 #52BD31 #31BD9C
monochromatic
#5C184A #8C2471 #BD3198 #D458B3 #E088C9

Accessibility & contrast

On white

5.18
#BD3198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BD3198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD3198
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3198#FFFFFF#000000##FFFFFF
##BD31981.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9B
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#C83561
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd3198;
/* rgb */ color: rgb(189, 49, 152);
/* oklch */ color: oklch(56.2% 0.204 340.8);
Tailwind
colors: {
  custom: {
    50: '#d577b6',
    500: '#bd3198',
    950: '#000000',
  },
}
SCSS
$custom: #bd3198;
$custom-light: #d577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3198",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 315.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.20387,
    "h": 340.8
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#BD3198
secondary
#80CA93
accent
#E26F46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BD3198

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

Preview Lab → · Contrast checker → · Palette generator →

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