#BD3298#BD3298

#BD3298 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.203 H 340.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BD3298
RGBrgb(189, 50, 152)
HSLhsl(316, 58%, 47%)
HSVhsv(316, 74%, 74%)
CMYKcmyk(0%, 73.5%, 19.6%, 25.9%)
CIE-LABlab(46.14, 64.05, -24.73)
CIE-LCHlch(46.14, 68.66, 338.89°)
OKLaboklab(56.25% 0.1915 -0.0666)
OKLCHoklch(56.25% 0.203 340.8)
XYZxyz(27.7952, 15.3698, 31.2025)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3298 #32BD57
analogous
#9D32BD #BD3298 #BD3253
triadic
#BD3298 #98BD32 #3298BD
tetradic
#BD3298 #BD9D32 #32BD57 #3253BD
square
#BD3298 #BD9D32 #32BD57 #3253BD
split-complementary
#BD3298 #53BD32 #32BD9D
monochromatic
#5C184A #8D2571 #BD3298 #D359B3 #E089C9

Accessibility & contrast

On white

5.16
#BD3298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BD3298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD3298
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3298#FFFFFF#000000##FFFFFF
##BD32981.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd3298;
/* rgb */ color: rgb(189, 50, 152);
/* oklch */ color: oklch(56.3% 0.203 340.8);
Tailwind
colors: {
  custom: {
    50: '#d577b6',
    500: '#bd3298',
    950: '#000000',
  },
}
SCSS
$custom: #bd3298;
$custom-light: #d577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3298",
  "rgb": {
    "r": 189,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 315.971,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.20278,
    "h": 340.8
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#BD3298
secondary
#81CA94
accent
#E17046
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BD3298

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

Preview Lab → · Contrast checker → · Palette generator →

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