#BC2798#BC2798

#BC2798 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.3% C 0.213 H 340.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BC2798
RGBrgb(188, 39, 152)
HSLhsl(314, 66%, 45%)
HSVhsv(314, 79%, 74%)
CMYKcmyk(0%, 79.3%, 19.1%, 26.3%)
CIE-LABlab(44.82, 67.07, -26.79)
CIE-LCHlch(44.82, 72.23, 338.23°)
OKLaboklab(55.27% 0.2005 -0.0724)
OKLCHoklch(55.27% 0.213 340.1)
XYZxyz(27.1329, 14.4122, 31.0526)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2798 #27BC4B
analogous
#9627BC #BC2798 #BC274D
triadic
#BC2798 #98BC27 #2798BC
tetradic
#BC2798 #BC9627 #27BC4B #274DBC
square
#BC2798 #BC9627 #27BC4B #274DBC
split-complementary
#BC2798 #4DBC27 #27BC96
monochromatic
#571246 #891C6F #BC2798 #D947B6 #E37ACA

Accessibility & contrast

On white

5.41
#BC2798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BC2798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2798
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2798#FFFFFF#000000##FFFFFF
##BC27981.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9B
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#C72D5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bc2798;
/* rgb */ color: rgb(188, 39, 152);
/* oklch */ color: oklch(55.3% 0.213 340.1);
Tailwind
colors: {
  custom: {
    50: '#d473b6',
    500: '#bc2798',
    950: '#000000',
  },
}
SCSS
$custom: #bc2798;
$custom-light: #d473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2798",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 314.497,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.21319,
    "h": 340.1
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#BC2798
secondary
#73CB89
accent
#E9683F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BC2798

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

Preview Lab → · Contrast checker → · Palette generator →

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