#BC2A9F#BC2A9F

#BC2A9F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.8% C 0.215 H 337.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BC2A9F
RGBrgb(188, 42, 159)
HSLhsl(312, 63%, 45%)
HSVhsv(312, 78%, 74%)
CMYKcmyk(0%, 77.7%, 15.4%, 26.3%)
CIE-LABlab(45.43, 67.21, -30.03)
CIE-LCHlch(45.43, 73.61, 335.92°)
OKLaboklab(55.82% 0.1988 -0.0816)
OKLCHoklch(55.82% 0.215 337.7)
XYZxyz(27.8256, 14.8532, 34.1957)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2A9F #2ABC47
analogous
#902ABC #BC2A9F #BC2A56
triadic
#BC2A9F #9FBC2A #2A9FBC
tetradic
#BC2A9F #BC902A #2ABC47 #2A56BC
square
#BC2A9F #BC902A #2ABC47 #2A56BC
split-complementary
#BC2A9F #56BC2A #2ABC90
monochromatic
#58144A #8A1F75 #BC2A9F #D74CBB #E27ECE

Accessibility & contrast

On white

5.29
#BC2A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BC2A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2A9F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2A9F#FFFFFF#000000##FFFFFF
##BC2A9F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#C63363
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc2a9f;
/* rgb */ color: rgb(188, 42, 159);
/* oklch */ color: oklch(55.8% 0.215 337.7);
Tailwind
colors: {
  custom: {
    50: '#d474bb',
    500: '#bc2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #bc2a9f;
$custom-light: #d474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2a9f",
  "rgb": {
    "r": 188,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 311.918,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.21491,
    "h": 337.7
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#BC2A9F
secondary
#77CB88
accent
#E76241
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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