#BD279F#BD279F

#BD279F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.8% C 0.218 H 337.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BD279F
RGBrgb(189, 39, 159)
HSLhsl(312, 66%, 45%)
HSVhsv(312, 79%, 74%)
CMYKcmyk(0%, 79.4%, 15.9%, 25.9%)
CIE-LABlab(45.33, 68.24, -30.18)
CIE-LCHlch(45.33, 74.62, 336.14°)
OKLaboklab(55.77% 0.2022 -0.082)
OKLCHoklch(55.77% 0.218 337.9)
XYZxyz(27.9704, 14.7758, 34.1731)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD279F #27BD45
analogous
#9027BD #BD279F #BD2754
triadic
#BD279F #9FBD27 #279FBD
tetradic
#BD279F #BD9027 #27BD45 #2754BD
square
#BD279F #BD9027 #27BD45 #2754BD
split-complementary
#BD279F #54BD27 #27BD90
monochromatic
#58124A #8A1D74 #BD279F #D948BC #E47BCF

Accessibility & contrast

On white

5.31
#BD279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BD279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD279F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD279F#FFFFFF#000000##FFFFFF
##BD279F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#C83162
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bd279f;
/* rgb */ color: rgb(189, 39, 159);
/* oklch */ color: oklch(55.8% 0.218 337.9);
Tailwind
colors: {
  custom: {
    50: '#d573bb',
    500: '#bd279f',
    950: '#000000',
  },
}
SCSS
$custom: #bd279f;
$custom-light: #d573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd279f",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 312,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.21819,
    "h": 337.9
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#BD279F
secondary
#74CC86
accent
#E9613F
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD279F

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

Preview Lab → · Contrast checker → · Palette generator →

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