#D027AB#D027AB

#D027AB is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.4% C 0.236 H 339.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D027AB
RGBrgb(208, 39, 171)
HSLhsl(313, 68%, 48%)
HSVhsv(313, 81%, 82%)
CMYKcmyk(0%, 81.3%, 17.8%, 18.4%)
CIE-LABlab(49.26, 73.96, -30.92)
CIE-LCHlch(49.26, 80.16, 337.31°)
OKLaboklab(59.4% 0.2205 -0.0838)
OKLCHoklch(59.4% 0.236 339.2)
XYZxyz(34.0896, 17.8047, 40.1615)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027AB #27D04C
analogous
#A027D0 #D027AB #D02756
triadic
#D027AB #ABD027 #27ABD0
tetradic
#D027AB #D0A027 #27D04C #2756D0
square
#D027AB #D0A027 #27D04C #2756D0
split-complementary
#D027AB #56D027 #27D0A0
monochromatic
#691456 #9C1D81 #D027AB #DF55C1 #E989D4

Accessibility & contrast

On white

4.61
#D027AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D027AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D027AB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027AB#FFFFFF#000000##FFFFFF
##D027AB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AE
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#DC3069
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d027ab;
/* rgb */ color: rgb(208, 39, 171);
/* oklch */ color: oklch(59.4% 0.236 339.2);
Tailwind
colors: {
  custom: {
    50: '#e377c4',
    500: '#d027ab',
    950: '#000000',
  },
}
SCSS
$custom: #d027ab;
$custom-light: #e377c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d027ab",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 313.136,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.23584,
    "h": 339.2
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#D027AB
secondary
#80D292
accent
#EB633D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D027AB

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

Preview Lab → · Contrast checker → · Palette generator →

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