#BD279C#BD279C

#BD279C is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.6% C 0.216 H 339.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BD279C
RGBrgb(189, 39, 156)
HSLhsl(313, 66%, 45%)
HSVhsv(313, 79%, 74%)
CMYKcmyk(0%, 79.4%, 17.5%, 25.9%)
CIE-LABlab(45.18, 67.83, -28.61)
CIE-LCHlch(45.18, 73.62, 337.13°)
OKLaboklab(55.62% 0.2019 -0.0776)
OKLCHoklch(55.62% 0.216 339)
XYZxyz(27.7133, 14.6729, 32.8187)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD279C #27BD48
analogous
#9327BD #BD279C #BD2751
triadic
#BD279C #9CBD27 #279CBD
tetradic
#BD279C #BD9327 #27BD48 #2751BD
square
#BD279C #BD9327 #27BD48 #2751BD
split-complementary
#BD279C #51BD27 #27BD93
monochromatic
#581248 #8A1D72 #BD279C #D948B9 #E47BCD

Accessibility & contrast

On white

5.34
#BD279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BD279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD279C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD279C#FFFFFF#000000##FFFFFF
##BD279C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#647399
Tritanopia (blue-blind)
#C82F60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bd279c;
/* rgb */ color: rgb(189, 39, 156);
/* oklch */ color: oklch(55.6% 0.216 339.0);
Tailwind
colors: {
  custom: {
    50: '#d573b9',
    500: '#bd279c',
    950: '#000000',
  },
}
SCSS
$custom: #bd279c;
$custom-light: #d573b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd279c",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 313.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.21627,
    "h": 339
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#BD279C
secondary
#74CC87
accent
#E9643F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BD279C

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

Preview Lab → · Contrast checker → · Palette generator →

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