#BC309F#BC309F

#BC309F is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.209 H 337.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BC309F
RGBrgb(188, 48, 159)
HSLhsl(312, 59%, 46%)
HSVhsv(312, 74%, 74%)
CMYKcmyk(0%, 74.5%, 15.4%, 26.3%)
CIE-LABlab(46.06, 65.42, -29.05)
CIE-LCHlch(46.06, 71.58, 336.05°)
OKLaboklab(56.27% 0.1934 -0.0789)
OKLCHoklch(56.27% 0.209 337.8)
XYZxyz(28.0546, 15.3111, 34.2720)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC309F #30BC4D
analogous
#9330BC #BC309F #BC3059
triadic
#BC309F #9FBC30 #309FBC
tetradic
#BC309F #BC9330 #30BC4D #3059BC
square
#BC309F #BC9330 #30BC4D #3059BC
split-complementary
#BC309F #59BC30 #30BC93
monochromatic
#5A174D #8B2476 #BC309F #D455BA #E086CE

Accessibility & contrast

On white

5.17
#BC309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BC309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC309F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC309F#FFFFFF#000000##FFFFFF
##BC309F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#65759C
Tritanopia (blue-blind)
#C63864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc309f;
/* rgb */ color: rgb(188, 48, 159);
/* oklch */ color: oklch(56.3% 0.209 337.8);
Tailwind
colors: {
  custom: {
    50: '#d476bb',
    500: '#bc309f',
    950: '#000000',
  },
}
SCSS
$custom: #bc309f;
$custom-light: #d476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc309f",
  "rgb": {
    "r": 188,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 312.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.20891,
    "h": 337.8
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#BC309F
secondary
#7ECA8E
accent
#E36645
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC309F

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

Preview Lab → · Contrast checker → · Palette generator →

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