#BC228F#BC228F

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

Color values

HEX#BC228F
RGBrgb(188, 34, 143)
HSLhsl(318, 69%, 44%)
HSVhsv(318, 82%, 74%)
CMYKcmyk(0%, 81.9%, 23.9%, 26.3%)
CIE-LABlab(43.98, 67.18, -22.65)
CIE-LCHlch(43.98, 70.90, 341.36°)
OKLaboklab(54.53% 0.2032 -0.0607)
OKLCHoklch(54.53% 0.212 343.4)
XYZxyz(26.2701, 13.8215, 27.2656)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC228F #22BC4F
analogous
#9C22BC #BC228F #BC2242
triadic
#BC228F #8FBC22 #228FBC
tetradic
#BC228F #BC9C22 #22BC4F #2242BC
square
#BC228F #BC9C22 #22BC4F #2242BC
split-complementary
#BC228F #42BC22 #22BC9C
monochromatic
#540F40 #881968 #BC228F #DC3FAE #E673C4

Accessibility & contrast

On white

5.58
#BC228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC228F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC228F#FFFFFF#000000##FFFFFF
##BC228F1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C92258
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bc228f;
/* rgb */ color: rgb(188, 34, 143);
/* oklch */ color: oklch(54.5% 0.212 343.4);
Tailwind
colors: {
  custom: {
    50: '#d571b0',
    500: '#bc228f',
    950: '#000000',
  },
}
SCSS
$custom: #bc228f;
$custom-light: #d571b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc228f",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 317.532,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.21203,
    "h": 343.4
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#BC228F
secondary
#6DCD89
accent
#EC6F3C
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BC228F

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

Preview Lab → · Contrast checker → · Palette generator →

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