#D02AB8#D02AB8

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

Color values

HEX#D02AB8
RGBrgb(208, 42, 184)
HSLhsl(309, 66%, 49%)
HSVhsv(309, 80%, 82%)
CMYKcmyk(0%, 79.8%, 11.5%, 18.4%)
CIE-LABlab(50.13, 75.00, -37.18)
CIE-LCHlch(50.13, 83.71, 333.63°)
OKLaboklab(60.23% 0.2193 -0.1018)
OKLCHoklch(60.23% 0.242 335.1)
XYZxyz(35.4926, 18.5298, 47.0455)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02AB8 #2AD042
analogous
#952AD0 #D02AB8 #D02A65
triadic
#D02AB8 #B8D02A #2AB8D0
tetradic
#D02AB8 #D0952A #2AD042 #2A65D0
square
#D02AB8 #D0952A #2AD042 #2A65D0
split-complementary
#D02AB8 #65D02A #2AD095
monochromatic
#6A155E #9D208B #D02AB8 #DE5ACB #E88DDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02AB8#FFFFFF#000000##000000
##D02AB81.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)
#2968BC
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#DA3A71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02ab8;
/* rgb */ color: rgb(208, 42, 184);
/* oklch */ color: oklch(60.2% 0.242 335.1);
Tailwind
colors: {
  custom: {
    50: '#e378ce',
    500: '#d02ab8',
    950: '#000000',
  },
}
SCSS
$custom: #d02ab8;
$custom-light: #e378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ab8",
  "rgb": {
    "r": 208,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 308.675,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.24171,
    "h": 335.1
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#D02AB8
secondary
#84D28F
accent
#E9573E
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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