#BC338B#BC338B

#BC338B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.193 H 345.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BC338B
RGBrgb(188, 51, 139)
HSLhsl(321, 57%, 47%)
HSVhsv(321, 73%, 74%)
CMYKcmyk(0%, 72.9%, 26.1%, 26.3%)
CIE-LABlab(45.53, 61.76, -17.83)
CIE-LCHlch(45.53, 64.28, 343.89°)
OKLaboklab(55.6% 0.1872 -0.0473)
OKLCHoklch(55.6% 0.193 345.8)
XYZxyz(26.5842, 14.9260, 25.9021)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC338B #33BC64
analogous
#A933BC #BC338B #BC3347
triadic
#BC338B #8BBC33 #338BBC
tetradic
#BC338B #BCA933 #33BC64 #3347BC
square
#BC338B #BCA933 #33BC64 #3347BC
split-complementary
#BC338B #47BC33 #33BCA9
monochromatic
#5C1944 #8C2667 #BC338B #D25AA7 #DF8AC1

Accessibility & contrast

On white

5.27
#BC338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BC338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC338B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC338B#FFFFFF#000000##FFFFFF
##BC338B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc338b;
/* rgb */ color: rgb(188, 51, 139);
/* oklch */ color: oklch(55.6% 0.193 345.8);
Tailwind
colors: {
  custom: {
    50: '#d477ad',
    500: '#bc338b',
    950: '#000000',
  },
}
SCSS
$custom: #bc338b;
$custom-light: #d477ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bc338b",
  "rgb": {
    "r": 188,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 321.46,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.19311,
    "h": 345.8
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC338B

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

Preview Lab → · Contrast checker → · Palette generator →

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