#D02BAC#D02BAC

#D02BAC is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.233 H 338.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D02BAC
RGBrgb(208, 43, 172)
HSLhsl(313, 66%, 49%)
HSVhsv(313, 79%, 82%)
CMYKcmyk(0%, 79.3%, 17.3%, 18.4%)
CIE-LABlab(49.64, 73.12, -30.91)
CIE-LCHlch(49.64, 79.39, 337.09°)
OKLaboklab(59.69% 0.2176 -0.0838)
OKLCHoklch(59.69% 0.233 338.9)
XYZxyz(34.3236, 18.1197, 40.7115)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BAC #2BD04F
analogous
#A22BD0 #D02BAC #D02B5A
triadic
#D02BAC #ACD02B #2BACD0
tetradic
#D02BAC #D0A22B #2BD04F #2B5AD0
square
#D02BAC #D0A22B #2BD04F #2B5AD0
split-complementary
#D02BAC #5AD02B #2BD0A2
monochromatic
#6B1658 #9D2182 #D02BAC #DD5BC1 #E88ED4

Accessibility & contrast

On white

4.54
#D02BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#D02BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BAC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BAC#FFFFFF#000000##000000
##D02BAC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#DC346A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d02bac;
/* rgb */ color: rgb(208, 43, 172);
/* oklch */ color: oklch(59.7% 0.233 338.9);
Tailwind
colors: {
  custom: {
    50: '#e378c5',
    500: '#d02bac',
    950: '#000000',
  },
}
SCSS
$custom: #d02bac;
$custom-light: #e378c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bac",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 313.091,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.23319,
    "h": 338.9
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#D02BAC
secondary
#85D296
accent
#E9643F
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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