#D02CB9#D02CB9

#D02CB9 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.4% C 0.241 H 334.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D02CB9
RGBrgb(208, 44, 185)
HSLhsl(308, 65%, 49%)
HSVhsv(308, 79%, 82%)
CMYKcmyk(0%, 78.8%, 11.1%, 18.4%)
CIE-LABlab(50.35, 74.64, -37.41)
CIE-LCHlch(50.35, 83.49, 333.38°)
OKLaboklab(60.41% 0.2178 -0.1024)
OKLCHoklch(60.41% 0.241 334.8)
XYZxyz(35.6705, 18.7173, 47.6237)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02CB9 #2CD043
analogous
#952CD0 #D02CB9 #D02C67
triadic
#D02CB9 #B9D02C #2CB9D0
tetradic
#D02CB9 #D0952C #2CD043 #2C67D0
square
#D02CB9 #D0952C #2CD043 #2C67D0
split-complementary
#D02CB9 #67D02C #2CD095
monochromatic
#6B175F #9D218C #D02CB9 #DD5DCB #E78FDB

Accessibility & contrast

On white

4.43
#D02CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D02CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02CB9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02CB9#FFFFFF#000000##000000
##D02CB91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#6A80B5
Tritanopia (blue-blind)
#DA3C72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02cb9;
/* rgb */ color: rgb(208, 44, 185);
/* oklch */ color: oklch(60.4% 0.241 334.8);
Tailwind
colors: {
  custom: {
    50: '#e379ce',
    500: '#d02cb9',
    950: '#000000',
  },
}
SCSS
$custom: #d02cb9;
$custom-light: #e379ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d02cb9",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 308.415,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.24071,
    "h": 334.8
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#D02CB9
secondary
#86D291
accent
#E85740
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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