#D02CB2#D02CB2

#D02CB2 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 60.1% C 0.236 H 337.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D02CB2
RGBrgb(208, 44, 178)
HSLhsl(311, 65%, 49%)
HSVhsv(311, 79%, 82%)
CMYKcmyk(0%, 78.8%, 14.4%, 18.4%)
CIE-LABlab(50.01, 73.67, -33.86)
CIE-LCHlch(50.01, 81.08, 335.32°)
OKLaboklab(60.05% 0.2174 -0.0922)
OKLCHoklch(60.05% 0.236 337)
XYZxyz(34.9497, 18.4290, 43.8274)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02CB2 #2CD04A
analogous
#9C2CD0 #D02CB2 #D02C60
triadic
#D02CB2 #B2D02C #2CB2D0
tetradic
#D02CB2 #D09C2C #2CD04A #2C60D0
square
#D02CB2 #D09C2C #2CD04A #2C60D0
split-complementary
#D02CB2 #60D02C #2CD09C
monochromatic
#6B175C #9D2187 #D02CB2 #DD5DC5 #E78FD7

Accessibility & contrast

On white

4.48
#D02CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02CB2#FFFFFF#000000##000000
##D02CB21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#DB386E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02cb2;
/* rgb */ color: rgb(208, 44, 178);
/* oklch */ color: oklch(60.1% 0.236 337.0);
Tailwind
colors: {
  custom: {
    50: '#e378c9',
    500: '#d02cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d02cb2;
$custom-light: #e378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d02cb2",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 310.976,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.23614,
    "h": 337
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#D02CB2
secondary
#86D294
accent
#E85F40
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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