#D027A9#D027A9

#D027A9 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 59.3% C 0.235 H 339.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D027A9
RGBrgb(208, 39, 169)
HSLhsl(314, 68%, 48%)
HSVhsv(314, 81%, 82%)
CMYKcmyk(0%, 81.3%, 18.8%, 18.4%)
CIE-LABlab(49.17, 73.70, -29.88)
CIE-LCHlch(49.17, 79.53, 337.93°)
OKLaboklab(59.31% 0.2203 -0.0809)
OKLCHoklch(59.31% 0.235 339.8)
XYZxyz(33.9004, 17.7290, 39.1651)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027A9 #27D04E
analogous
#A227D0 #D027A9 #D02754
triadic
#D027A9 #A9D027 #27A9D0
tetradic
#D027A9 #D0A227 #27D04E #2754D0
square
#D027A9 #D0A227 #27D04E #2754D0
split-complementary
#D027A9 #54D027 #27D0A2
monochromatic
#691455 #9C1D7F #D027A9 #DF55BF #E989D3

Accessibility & contrast

On white

4.62
#D027A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#D027A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D027A9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027A9#FFFFFF#000000##FFFFFF
##D027A91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#6F7EA5
Tritanopia (blue-blind)
#DD2F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d027a9;
/* rgb */ color: rgb(208, 39, 169);
/* oklch */ color: oklch(59.3% 0.235 339.8);
Tailwind
colors: {
  custom: {
    50: '#e376c3',
    500: '#d027a9',
    950: '#000000',
  },
}
SCSS
$custom: #d027a9;
$custom-light: #e376c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d027a9",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 313.846,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.23462,
    "h": 339.8
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#D027A9
secondary
#80D293
accent
#EB653D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D027A9

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

Preview Lab → · Contrast checker → · Palette generator →

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