#D028BC#D028BC

#D028BC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.246 H 333.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D028BC
RGBrgb(208, 40, 188)
HSLhsl(307, 68%, 49%)
HSVhsv(307, 81%, 82%)
CMYKcmyk(0%, 80.8%, 9.6%, 18.4%)
CIE-LABlab(50.17, 76.04, -39.45)
CIE-LCHlch(50.17, 85.66, 332.58°)
OKLaboklab(60.33% 0.2208 -0.1083)
OKLCHoklch(60.33% 0.246 333.9)
XYZxyz(35.8487, 18.5616, 49.2619)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D028BC #28D03C
analogous
#9028D0 #D028BC #D02868
triadic
#D028BC #BCD028 #28BCD0
tetradic
#D028BC #D09028 #28D03C #2868D0
square
#D028BC #D09028 #28D03C #2868D0
split-complementary
#D028BC #68D028 #28D090
monochromatic
#69145F #9D1E8E #D028BC #DF57CE #E88ADD

Accessibility & contrast

On white

4.46
#D028BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D028BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D028BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D028BC#FFFFFF#000000##000000
##D028BC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#DA3C73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d028bc;
/* rgb */ color: rgb(208, 40, 188);
/* oklch */ color: oklch(60.3% 0.246 333.9);
Tailwind
colors: {
  custom: {
    50: '#e378d0',
    500: '#d028bc',
    950: '#000000',
  },
}
SCSS
$custom: #d028bc;
$custom-light: #e378d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d028bc",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 307.143,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.24593,
    "h": 333.9
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#D028BC
secondary
#82D28B
accent
#EB523D
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D028BC

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

Preview Lab → · Contrast checker → · Palette generator →

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