#D028BA#D028BA

#D028BA is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.245 H 334.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D028BA
RGBrgb(208, 40, 186)
HSLhsl(308, 68%, 49%)
HSVhsv(308, 81%, 82%)
CMYKcmyk(0%, 80.8%, 10.6%, 18.4%)
CIE-LABlab(50.07, 75.76, -38.45)
CIE-LCHlch(50.07, 84.96, 333.09°)
OKLaboklab(60.22% 0.2207 -0.1054)
OKLCHoklch(60.22% 0.245 334.5)
XYZxyz(35.6346, 18.4759, 48.1343)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D028BA #28D03E
analogous
#9228D0 #D028BA #D02866
triadic
#D028BA #BAD028 #28BAD0
tetradic
#D028BA #D09228 #28D03E #2866D0
square
#D028BA #D09228 #28D03E #2866D0
split-complementary
#D028BA #66D028 #28D092
monochromatic
#69145E #9D1E8C #D028BA #DF57CD #E88ADC

Accessibility & contrast

On white

4.47
#D028BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D028BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D028BA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D028BA#FFFFFF#000000##000000
##D028BA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#DA3A72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d028ba;
/* rgb */ color: rgb(208, 40, 186);
/* oklch */ color: oklch(60.2% 0.245 334.5);
Tailwind
colors: {
  custom: {
    50: '#e377cf',
    500: '#d028ba',
    950: '#000000',
  },
}
SCSS
$custom: #d028ba;
$custom-light: #e377cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d028ba",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 307.857,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.24461,
    "h": 334.5
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#D028BA
secondary
#82D28C
accent
#EB543D
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D028BA

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

Preview Lab → · Contrast checker → · Palette generator →

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