#BD2798#BD2798

#BD2798 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.4% C 0.214 H 340.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BD2798
RGBrgb(189, 39, 152)
HSLhsl(315, 66%, 45%)
HSVhsv(315, 79%, 74%)
CMYKcmyk(0%, 79.4%, 19.6%, 25.9%)
CIE-LABlab(45.00, 67.30, -26.50)
CIE-LCHlch(45.00, 72.33, 338.51°)
OKLaboklab(55.43% 0.2014 -0.0715)
OKLCHoklch(55.43% 0.214 340.4)
XYZxyz(27.3801, 14.5397, 31.0642)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2798 #27BD4C
analogous
#9727BD #BD2798 #BD274D
triadic
#BD2798 #98BD27 #2798BD
tetradic
#BD2798 #BD9727 #27BD4C #274DBD
square
#BD2798 #BD9727 #27BD4C #274DBD
split-complementary
#BD2798 #4DBD27 #27BD97
monochromatic
#581246 #8A1D6F #BD2798 #D948B5 #E47BCA

Accessibility & contrast

On white

5.37
#BD2798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BD2798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD2798
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD2798#FFFFFF#000000##FFFFFF
##BD27981.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#C92C5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd2798;
/* rgb */ color: rgb(189, 39, 152);
/* oklch */ color: oklch(55.4% 0.214 340.4);
Tailwind
colors: {
  custom: {
    50: '#d573b6',
    500: '#bd2798',
    950: '#000000',
  },
}
SCSS
$custom: #bd2798;
$custom-light: #d573b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2798",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 314.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.21376,
    "h": 340.4
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#BD2798
secondary
#74CC8A
accent
#E9693F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BD2798

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

Preview Lab → · Contrast checker → · Palette generator →

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