#BD338C#BD338C

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

Color values

HEX#BD338C
RGBrgb(189, 51, 140)
HSLhsl(321, 58%, 47%)
HSVhsv(321, 73%, 74%)
CMYKcmyk(0%, 73%, 25.9%, 25.9%)
CIE-LABlab(45.75, 62.15, -18.09)
CIE-LCHlch(45.75, 64.73, 343.77°)
OKLaboklab(55.8% 0.1884 -0.048)
OKLCHoklch(55.8% 0.194 345.7)
XYZxyz(26.9049, 15.0828, 26.3002)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD338C #33BD64
analogous
#A933BD #BD338C #BD3347
triadic
#BD338C #8CBD33 #338CBD
tetradic
#BD338C #BDA933 #33BD64 #3347BD
square
#BD338C #BDA933 #33BD64 #3347BD
split-complementary
#BD338C #47BD33 #33BDA9
monochromatic
#5D1945 #8D2668 #BD338C #D35BA8 #E08BC2

Accessibility & contrast

On white

5.23
#BD338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD338C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD338C#FFFFFF#000000##FFFFFF
##BD338C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8E
Deuteranopia (green-blind)
#6E7589
Tritanopia (blue-blind)
#CA305B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd338c;
/* rgb */ color: rgb(189, 51, 140);
/* oklch */ color: oklch(55.8% 0.194 345.7);
Tailwind
colors: {
  custom: {
    50: '#d577ad',
    500: '#bd338c',
    950: '#000000',
  },
}
SCSS
$custom: #bd338c;
$custom-light: #d577ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bd338c",
  "rgb": {
    "r": 189,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 321.304,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.19438,
    "h": 345.7
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#BD338C
secondary
#82CA9C
accent
#E17E47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BD338C

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

Preview Lab → · Contrast checker → · Palette generator →

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