#D027A6#D027A6

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

Color values

HEX#D027A6
RGBrgb(208, 39, 166)
HSLhsl(315, 68%, 48%)
HSVhsv(315, 81%, 82%)
CMYKcmyk(0%, 81.3%, 20.2%, 18.4%)
CIE-LABlab(49.03, 73.32, -28.32)
CIE-LCHlch(49.03, 78.60, 338.88°)
OKLaboklab(59.16% 0.2199 -0.0764)
OKLCHoklch(59.16% 0.233 340.8)
XYZxyz(33.6220, 17.6177, 37.6989)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027A6 #27D051
analogous
#A527D0 #D027A6 #D02752
triadic
#D027A6 #A6D027 #27A6D0
tetradic
#D027A6 #D0A527 #27D051 #2752D0
square
#D027A6 #D0A527 #27D051 #2752D0
split-complementary
#D027A6 #52D027 #27D0A5
monochromatic
#691454 #9C1D7D #D027A6 #DF55BD #E989D1

Accessibility & contrast

On white

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

On black

4.52
#D027A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D027A6#FFFFFF#000000##FFFFFF
##D027A61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A9
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#DD2D66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d027a6;
/* rgb */ color: rgb(208, 39, 166);
/* oklch */ color: oklch(59.2% 0.233 340.8);
Tailwind
colors: {
  custom: {
    50: '#e376c0',
    500: '#d027a6',
    950: '#000000',
  },
}
SCSS
$custom: #d027a6;
$custom-light: #e376c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d027a6",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 314.911,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.23282,
    "h": 340.8
  },
  "luminance": 0.17614
}

Semantic roles & 50–950 ramp

primary
#D027A6
secondary
#80D295
accent
#EB683D
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D027A6

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

Preview Lab → · Contrast checker → · Palette generator →

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