#D02BAB#D02BAB

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

Color values

HEX#D02BAB
RGBrgb(208, 43, 171)
HSLhsl(313, 66%, 49%)
HSVhsv(313, 79%, 82%)
CMYKcmyk(0%, 79.3%, 17.8%, 18.4%)
CIE-LABlab(49.59, 72.99, -30.39)
CIE-LCHlch(49.59, 79.07, 337.39°)
OKLaboklab(59.64% 0.2175 -0.0823)
OKLCHoklch(59.64% 0.233 339.3)
XYZxyz(34.2279, 18.0814, 40.2076)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BAB #2BD050
analogous
#A32BD0 #D02BAB #D02B58
triadic
#D02BAB #ABD02B #2BABD0
tetradic
#D02BAB #D0A32B #2BD050 #2B58D0
square
#D02BAB #D0A32B #2BD050 #2B58D0
split-complementary
#D02BAB #58D02B #2BD0A3
monochromatic
#6B1658 #9D2181 #D02BAB #DD5BC0 #E88ED3

Accessibility & contrast

On white

4.55
#D02BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02BAB#FFFFFF#000000##000000
##D02BAB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3766AE
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#DC336A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d02bab;
/* rgb */ color: rgb(208, 43, 171);
/* oklch */ color: oklch(59.6% 0.233 339.3);
Tailwind
colors: {
  custom: {
    50: '#e378c4',
    500: '#d02bab',
    950: '#000000',
  },
}
SCSS
$custom: #d02bab;
$custom-light: #e378c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bab",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 313.455,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.23257,
    "h": 339.3
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#D02BAB
secondary
#85D296
accent
#E9653F
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D02BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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