#BC227F#BC227F

#BC227F is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.8% C 0.203 H 349.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BC227F
RGBrgb(188, 34, 127)
HSLhsl(324, 69%, 44%)
HSVhsv(324, 82%, 74%)
CMYKcmyk(0%, 81.9%, 32.4%, 26.3%)
CIE-LABlab(43.32, 65.29, -13.89)
CIE-LCHlch(43.32, 66.76, 347.99°)
OKLaboklab(53.84% 0.2001 -0.0363)
OKLCHoklch(53.84% 0.203 349.7)
XYZxyz(25.1433, 13.3708, 21.3313)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC227F #22BC5F
analogous
#AC22BC #BC227F #BC2232
triadic
#BC227F #7FBC22 #227FBC
tetradic
#BC227F #BCAC22 #22BC5F #2232BC
square
#BC227F #BCAC22 #22BC5F #2232BC
split-complementary
#BC227F #32BC22 #22BCAC
monochromatic
#540F39 #88195C #BC227F #DC3F9E #E673B8

Accessibility & contrast

On white

5.72
#BC227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BC227F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC227F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC227F#FFFFFF#000000##FFFFFF
##BC227F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#CA144F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bc227f;
/* rgb */ color: rgb(188, 34, 127);
/* oklch */ color: oklch(53.8% 0.203 349.7);
Tailwind
colors: {
  custom: {
    50: '#d570a4',
    500: '#bc227f',
    950: '#000000',
  },
}
SCSS
$custom: #bc227f;
$custom-light: #d570a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc227f",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 323.766,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.20339,
    "h": 349.7
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#BC227F
secondary
#6DCD93
accent
#EC823C
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BC227F

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

Preview Lab → · Contrast checker → · Palette generator →

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