#D027A7#D027A7

#D027A7 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 59.2% C 0.233 H 340.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D027A7
RGBrgb(208, 39, 167)
HSLhsl(315, 68%, 48%)
HSVhsv(315, 81%, 82%)
CMYKcmyk(0%, 81.3%, 19.7%, 18.4%)
CIE-LABlab(49.07, 73.45, -28.84)
CIE-LCHlch(49.07, 78.91, 338.56°)
OKLaboklab(59.21% 0.22 -0.0779)
OKLCHoklch(59.21% 0.233 340.5)
XYZxyz(33.7141, 17.6545, 38.1839)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027A7 #27D050
analogous
#A427D0 #D027A7 #D02752
triadic
#D027A7 #A7D027 #27A7D0
tetradic
#D027A7 #D0A427 #27D050 #2752D0
square
#D027A7 #D0A427 #27D050 #2752D0
split-complementary
#D027A7 #52D027 #27D0A4
monochromatic
#691454 #9C1D7E #D027A7 #DF55BE #E989D1

Accessibility & contrast

On white

4.64
#D027A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#D027A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D027A7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027A7#FFFFFF#000000##FFFFFF
##D027A71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#DD2D67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d027a7;
/* rgb */ color: rgb(208, 39, 167);
/* oklch */ color: oklch(59.2% 0.233 340.5);
Tailwind
colors: {
  custom: {
    50: '#e376c1',
    500: '#d027a7',
    950: '#000000',
  },
}
SCSS
$custom: #d027a7;
$custom-light: #e376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d027a7",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 314.556,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.23341,
    "h": 340.5
  },
  "luminance": 0.17651
}

Semantic roles & 50–950 ramp

primary
#D027A7
secondary
#80D294
accent
#EB673D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D027A7

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

Preview Lab → · Contrast checker → · Palette generator →

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