#BC28A1#BC28A1

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

Color values

HEX#BC28A1
RGBrgb(188, 40, 161)
HSLhsl(311, 65%, 45%)
HSVhsv(311, 79%, 74%)
CMYKcmyk(0%, 78.7%, 14.4%, 26.3%)
CIE-LABlab(45.34, 68.03, -31.37)
CIE-LCHlch(45.34, 74.92, 335.24°)
OKLaboklab(55.78% 0.2006 -0.0855)
OKLCHoklch(55.78% 0.218 336.9)
XYZxyz(27.9314, 14.7848, 35.0940)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A1 #28BC43
analogous
#8D28BC #BC28A1 #BC2857
triadic
#BC28A1 #A1BC28 #28A1BC
tetradic
#BC28A1 #BC8D28 #28BC43 #2857BC
square
#BC28A1 #BC8D28 #28BC43 #2857BC
split-complementary
#BC28A1 #57BC28 #28BC8D
monochromatic
#57134B #8A1D76 #BC28A1 #D849BE #E37BD0

Accessibility & contrast

On white

5.31
#BC28A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BC28A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28A1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A1#FFFFFF#000000##FFFFFF
##BC28A11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#62739E
Tritanopia (blue-blind)
#C63363
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bc28a1;
/* rgb */ color: rgb(188, 40, 161);
/* oklch */ color: oklch(55.8% 0.218 336.9);
Tailwind
colors: {
  custom: {
    50: '#d473bd',
    500: '#bc28a1',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a1;
$custom-light: #d473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a1",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 310.946,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.21807,
    "h": 336.9
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#BC28A1
secondary
#75CB84
accent
#E85F40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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