#D02CAF#D02CAF

#D02CAF is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.9% C 0.234 H 338.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D02CAF
RGBrgb(208, 44, 175)
HSLhsl(312, 65%, 49%)
HSVhsv(312, 79%, 82%)
CMYKcmyk(0%, 78.8%, 15.9%, 18.4%)
CIE-LABlab(49.87, 73.27, -32.32)
CIE-LCHlch(49.87, 80.08, 336.20°)
OKLaboklab(59.9% 0.2171 -0.0878)
OKLCHoklch(59.9% 0.234 338)
XYZxyz(34.6518, 18.3098, 42.2583)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02CAF #2CD04D
analogous
#9F2CD0 #D02CAF #D02C5D
triadic
#D02CAF #AFD02C #2CAFD0
tetradic
#D02CAF #D09F2C #2CD04D #2C5DD0
square
#D02CAF #D09F2C #2CD04D #2C5DD0
split-complementary
#D02CAF #5DD02C #2CD09F
monochromatic
#6B175A #9D2185 #D02CAF #DD5DC3 #E78FD6

Accessibility & contrast

On white

4.51
#D02CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D02CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02CAF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02CAF#FFFFFF#000000##000000
##D02CAF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3467B2
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#DC366C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02caf;
/* rgb */ color: rgb(208, 44, 175);
/* oklch */ color: oklch(59.9% 0.234 338.0);
Tailwind
colors: {
  custom: {
    50: '#e378c7',
    500: '#d02caf',
    950: '#000000',
  },
}
SCSS
$custom: #d02caf;
$custom-light: #e378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d02caf",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 312.073,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.23422,
    "h": 338
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#D02CAF
secondary
#86D295
accent
#E86240
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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