#BC228E#BC228E

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

Color values

HEX#BC228E
RGBrgb(188, 34, 142)
HSLhsl(318, 69%, 44%)
HSVhsv(318, 82%, 74%)
CMYKcmyk(0%, 81.9%, 24.5%, 26.3%)
CIE-LABlab(43.93, 67.06, -22.11)
CIE-LCHlch(43.93, 70.61, 341.75°)
OKLaboklab(54.48% 0.203 -0.0592)
OKLCHoklch(54.48% 0.211 343.8)
XYZxyz(26.1947, 13.7913, 26.8685)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC228E #22BC50
analogous
#9D22BC #BC228E #BC2241
triadic
#BC228E #8EBC22 #228EBC
tetradic
#BC228E #BC9D22 #22BC50 #2241BC
square
#BC228E #BC9D22 #22BC50 #2241BC
split-complementary
#BC228E #41BC22 #22BC9D
monochromatic
#540F40 #881967 #BC228E #DC3FAD #E673C3

Accessibility & contrast

On white

5.59
#BC228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BC228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC228E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC228E#FFFFFF#000000##FFFFFF
##BC228E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C92157
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bc228e;
/* rgb */ color: rgb(188, 34, 142);
/* oklch */ color: oklch(54.5% 0.211 343.8);
Tailwind
colors: {
  custom: {
    50: '#d571af',
    500: '#bc228e',
    950: '#000000',
  },
}
SCSS
$custom: #bc228e;
$custom-light: #d571af;
$custom-dark: #000000;
JSON
{
  "hex": "#bc228e",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 317.922,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.21145,
    "h": 343.8
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC228E

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

Preview Lab → · Contrast checker → · Palette generator →

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