#BC228D#BC228D

#BC228D is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.211 H 344.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BC228D
RGBrgb(188, 34, 141)
HSLhsl(318, 69%, 44%)
HSVhsv(318, 82%, 74%)
CMYKcmyk(0%, 81.9%, 25%, 26.3%)
CIE-LABlab(43.89, 66.93, -21.57)
CIE-LCHlch(43.89, 70.32, 342.13°)
OKLaboklab(54.44% 0.2029 -0.0576)
OKLCHoklch(54.44% 0.211 344.1)
XYZxyz(26.1199, 13.7614, 26.4748)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC228D #22BC51
analogous
#9E22BC #BC228D #BC2240
triadic
#BC228D #8DBC22 #228DBC
tetradic
#BC228D #BC9E22 #22BC51 #2240BC
square
#BC228D #BC9E22 #22BC51 #2240BC
split-complementary
#BC228D #40BC22 #22BC9E
monochromatic
#540F3F #881966 #BC228D #DC3FAC #E673C3

Accessibility & contrast

On white

5.60
#BC228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC228D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC228D#FFFFFF#000000##FFFFFF
##BC228D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C92057
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bc228d;
/* rgb */ color: rgb(188, 34, 141);
/* oklch */ color: oklch(54.4% 0.211 344.1);
Tailwind
colors: {
  custom: {
    50: '#d571ae',
    500: '#bc228d',
    950: '#000000',
  },
}
SCSS
$custom: #bc228d;
$custom-light: #d571ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bc228d",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 318.312,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.21088,
    "h": 344.1
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#BC228D
secondary
#6DCD8A
accent
#EC723C
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BC228D

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

Preview Lab → · Contrast checker → · Palette generator →

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