#BD338D#BD338D

#BD338D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.8% C 0.195 H 345.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BD338D
RGBrgb(189, 51, 141)
HSLhsl(321, 58%, 47%)
HSVhsv(321, 73%, 74%)
CMYKcmyk(0%, 73%, 25.4%, 25.9%)
CIE-LABlab(45.79, 62.27, -18.64)
CIE-LCHlch(45.79, 65.00, 343.34°)
OKLaboklab(55.85% 0.1886 -0.0495)
OKLCHoklch(55.85% 0.195 345.3)
XYZxyz(26.9789, 15.1124, 26.6903)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD338D #33BD63
analogous
#A833BD #BD338D #BD3348
triadic
#BD338D #8DBD33 #338DBD
tetradic
#BD338D #BDA833 #33BD63 #3348BD
square
#BD338D #BDA833 #33BD63 #3348BD
split-complementary
#BD338D #48BD33 #33BDA8
monochromatic
#5D1945 #8D2669 #BD338D #D35BA9 #E08BC2

Accessibility & contrast

On white

5.22
#BD338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BD338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD338D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD338D#FFFFFF#000000##FFFFFF
##BD338D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E8F
Deuteranopia (green-blind)
#6E758A
Tritanopia (blue-blind)
#CA315C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd338d;
/* rgb */ color: rgb(189, 51, 141);
/* oklch */ color: oklch(55.8% 0.195 345.3);
Tailwind
colors: {
  custom: {
    50: '#d577ae',
    500: '#bd338d',
    950: '#000000',
  },
}
SCSS
$custom: #bd338d;
$custom-light: #d577ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bd338d",
  "rgb": {
    "r": 189,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 320.87,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.19496,
    "h": 345.3
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#BD338D
secondary
#82CA9B
accent
#E17D47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BD338D

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

Preview Lab → · Contrast checker → · Palette generator →

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