#BC45A7#BC45A7

#BC45A7 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.189 H 335.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BC45A7
RGBrgb(188, 69, 167)
HSLhsl(311, 47%, 50%)
HSVhsv(311, 63%, 74%)
CMYKcmyk(0%, 63.3%, 11.2%, 26.3%)
CIE-LABlab(49.18, 58.89, -28.93)
CIE-LCHlch(49.18, 65.61, 333.84°)
OKLaboklab(58.65% 0.1715 -0.0787)
OKLCHoklch(58.65% 0.189 335.3)
XYZxyz(29.8425, 17.7400, 38.4041)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC45A7 #45BC5A
analogous
#9545BC #BC45A7 #BC456B
triadic
#BC45A7 #A7BC45 #45A7BC
tetradic
#BC45A7 #BC9545 #45BC5A #456BBC
square
#BC45A7 #BC9545 #45BC5A #456BBC
split-complementary
#BC45A7 #6BBC45 #45BC95
monochromatic
#632458 #903480 #BC45A7 #CC72BC #DC9FD2

Accessibility & contrast

On white

4.62
#BC45A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BC45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC45A7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC45A7#FFFFFF#000000##FFFFFF
##BC45A71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#C54C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc45a7;
/* rgb */ color: rgb(188, 69, 167);
/* oklch */ color: oklch(58.7% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#d381c1',
    500: '#bc45a7',
    950: '#000000',
  },
}
SCSS
$custom: #bc45a7;
$custom-light: #d381c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc45a7",
  "rgb": {
    "r": 188,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 310.588,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.18871,
    "h": 335.3
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#BC45A7
secondary
#94C99D
accent
#D76951
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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