#BD338A#BD338A

#BD338A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.193 H 346.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BD338A
RGBrgb(189, 51, 138)
HSLhsl(322, 58%, 47%)
HSVhsv(322, 73%, 74%)
CMYKcmyk(0%, 73%, 27%, 25.9%)
CIE-LABlab(45.67, 61.89, -17.01)
CIE-LCHlch(45.67, 64.19, 344.64°)
OKLaboklab(55.72% 0.1879 -0.045)
OKLCHoklch(55.72% 0.193 346.5)
XYZxyz(26.7587, 15.0244, 25.5306)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD338A #33BD66
analogous
#AB33BD #BD338A #BD3345
triadic
#BD338A #8ABD33 #338ABD
tetradic
#BD338A #BDAB33 #33BD66 #3345BD
square
#BD338A #BDAB33 #33BD66 #3345BD
split-complementary
#BD338A #45BD33 #33BDAB
monochromatic
#5D1944 #8D2667 #BD338A #D35BA6 #E08BC0

Accessibility & contrast

On white

5.24
#BD338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BD338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD338A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD338A#FFFFFF#000000##FFFFFF
##BD338A1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#CA2F5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd338a;
/* rgb */ color: rgb(189, 51, 138);
/* oklch */ color: oklch(55.7% 0.193 346.5);
Tailwind
colors: {
  custom: {
    50: '#d577ac',
    500: '#bd338a',
    950: '#000000',
  },
}
SCSS
$custom: #bd338a;
$custom-light: #d577ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bd338a",
  "rgb": {
    "r": 189,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 322.174,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.19324,
    "h": 346.5
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#BD338A
secondary
#82CA9D
accent
#E18047
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BD338A

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

Preview Lab → · Contrast checker → · Palette generator →

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