#BC338C#BC338C

#BC338C is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.194 H 345.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BC338C
RGBrgb(188, 51, 140)
HSLhsl(321, 57%, 47%)
HSVhsv(321, 73%, 74%)
CMYKcmyk(0%, 72.9%, 25.5%, 26.3%)
CIE-LABlab(45.57, 61.89, -18.38)
CIE-LCHlch(45.57, 64.56, 343.46°)
OKLaboklab(55.64% 0.1874 -0.0488)
OKLCHoklch(55.64% 0.194 345.4)
XYZxyz(26.6576, 14.9553, 26.2886)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC338C #33BC63
analogous
#A833BC #BC338C #BC3348
triadic
#BC338C #8CBC33 #338CBC
tetradic
#BC338C #BCA833 #33BC63 #3348BC
square
#BC338C #BCA833 #33BC63 #3348BC
split-complementary
#BC338C #48BC33 #33BCA8
monochromatic
#5C1944 #8C2668 #BC338C #D25AA8 #DF8AC1

Accessibility & contrast

On white

5.26
#BC338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BC338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC338C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC338C#FFFFFF#000000##FFFFFF
##BC338C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc338c;
/* rgb */ color: rgb(188, 51, 140);
/* oklch */ color: oklch(55.6% 0.194 345.4);
Tailwind
colors: {
  custom: {
    50: '#d477ad',
    500: '#bc338c',
    950: '#000000',
  },
}
SCSS
$custom: #bc338c;
$custom-light: #d477ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bc338c",
  "rgb": {
    "r": 188,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 321.022,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.19368,
    "h": 345.4
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#BC338C
secondary
#81C99B
accent
#E17D47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BC338C

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

Preview Lab → · Contrast checker → · Palette generator →

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