#BC228C#BC228C

#BC228C is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.4% C 0.210 H 344.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BC228C
RGBrgb(188, 34, 140)
HSLhsl(319, 69%, 44%)
HSVhsv(319, 82%, 74%)
CMYKcmyk(0%, 81.9%, 25.5%, 26.3%)
CIE-LABlab(43.85, 66.81, -21.03)
CIE-LCHlch(43.85, 70.04, 342.53°)
OKLaboklab(54.39% 0.2027 -0.0561)
OKLCHoklch(54.39% 0.21 344.5)
XYZxyz(26.0458, 13.7318, 26.0847)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC228C #22BC52
analogous
#9F22BC #BC228C #BC223F
triadic
#BC228C #8CBC22 #228CBC
tetradic
#BC228C #BC9F22 #22BC52 #223FBC
square
#BC228C #BC9F22 #22BC52 #223FBC
split-complementary
#BC228C #3FBC22 #22BC9F
monochromatic
#540F3F #881965 #BC228C #DC3FAB #E673C2

Accessibility & contrast

On white

5.61
#BC228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BC228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC228C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC228C#FFFFFF#000000##FFFFFF
##BC228C1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#C92056
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bc228c;
/* rgb */ color: rgb(188, 34, 140);
/* oklch */ color: oklch(54.4% 0.210 344.5);
Tailwind
colors: {
  custom: {
    50: '#d571ad',
    500: '#bc228c',
    950: '#000000',
  },
}
SCSS
$custom: #bc228c;
$custom-light: #d571ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bc228c",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 318.701,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.21031,
    "h": 344.5
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#BC228C
secondary
#6DCD8B
accent
#EC733C
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BC228C

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

Preview Lab → · Contrast checker → · Palette generator →

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