#BD279D#BD279D

#BD279D is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.7% C 0.217 H 338.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BD279D
RGBrgb(189, 39, 157)
HSLhsl(313, 66%, 45%)
HSVhsv(313, 79%, 74%)
CMYKcmyk(0%, 79.4%, 16.9%, 25.9%)
CIE-LABlab(45.23, 67.97, -29.13)
CIE-LCHlch(45.23, 73.95, 336.80°)
OKLaboklab(55.67% 0.202 -0.079)
OKLCHoklch(55.67% 0.217 338.6)
XYZxyz(27.7983, 14.7069, 33.2665)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD279D #27BD47
analogous
#9227BD #BD279D #BD2752
triadic
#BD279D #9DBD27 #279DBD
tetradic
#BD279D #BD9227 #27BD47 #2752BD
square
#BD279D #BD9227 #27BD47 #2752BD
split-complementary
#BD279D #52BD27 #27BD92
monochromatic
#581249 #8A1D73 #BD279D #D948BA #E47BCD

Accessibility & contrast

On white

5.33
#BD279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BD279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD279D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD279D#FFFFFF#000000##FFFFFF
##BD279D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#64739A
Tritanopia (blue-blind)
#C82F61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bd279d;
/* rgb */ color: rgb(189, 39, 157);
/* oklch */ color: oklch(55.7% 0.217 338.6);
Tailwind
colors: {
  custom: {
    50: '#d573ba',
    500: '#bd279d',
    950: '#000000',
  },
}
SCSS
$custom: #bd279d;
$custom-light: #d573ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bd279d",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 312.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.21691,
    "h": 338.6
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD279D

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

Preview Lab → · Contrast checker → · Palette generator →

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