#BC228A#BC228A

#BC228A is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.3% C 0.209 H 345.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BC228A
RGBrgb(188, 34, 138)
HSLhsl(319, 69%, 44%)
HSVhsv(319, 82%, 74%)
CMYKcmyk(0%, 81.9%, 26.6%, 26.3%)
CIE-LABlab(43.76, 66.57, -19.94)
CIE-LCHlch(43.76, 69.49, 343.32°)
OKLaboklab(54.3% 0.2023 -0.0531)
OKLCHoklch(54.3% 0.209 345.3)
XYZxyz(25.8997, 13.6734, 25.3151)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC228A #22BC54
analogous
#A122BC #BC228A #BC223D
triadic
#BC228A #8ABC22 #228ABC
tetradic
#BC228A #BCA122 #22BC54 #223DBC
square
#BC228A #BCA122 #22BC54 #223DBC
split-complementary
#BC228A #3DBC22 #22BCA1
monochromatic
#540F3E #881964 #BC228A #DC3FA9 #E673C0

Accessibility & contrast

On white

5.62
#BC228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BC228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC228A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC228A#FFFFFF#000000##FFFFFF
##BC228A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#C91E55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bc228a;
/* rgb */ color: rgb(188, 34, 138);
/* oklch */ color: oklch(54.3% 0.209 345.3);
Tailwind
colors: {
  custom: {
    50: '#d571ac',
    500: '#bc228a',
    950: '#000000',
  },
}
SCSS
$custom: #bc228a;
$custom-light: #d571ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bc228a",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 319.481,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.20919,
    "h": 345.3
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#BC228A
secondary
#6DCD8C
accent
#EC753C
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BC228A

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

Preview Lab → · Contrast checker → · Palette generator →

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