#D027AF#D027AF

#D027AF is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.6% C 0.238 H 337.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D027AF
RGBrgb(208, 39, 175)
HSLhsl(312, 68%, 48%)
HSVhsv(312, 81%, 82%)
CMYKcmyk(0%, 81.3%, 15.9%, 18.4%)
CIE-LABlab(49.45, 74.49, -32.98)
CIE-LCHlch(49.45, 81.46, 336.12°)
OKLaboklab(59.6% 0.2208 -0.0897)
OKLCHoklch(59.6% 0.238 337.9)
XYZxyz(34.4766, 17.9595, 42.2000)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027AF #27D048
analogous
#9C27D0 #D027AF #D0275A
triadic
#D027AF #AFD027 #27AFD0
tetradic
#D027AF #D09C27 #27D048 #275AD0
square
#D027AF #D09C27 #27D048 #275AD0
split-complementary
#D027AF #5AD027 #27D09C
monochromatic
#691458 #9C1D84 #D027AF #DF55C4 #E989D6

Accessibility & contrast

On white

4.57
#D027AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#D027AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D027AF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027AF#FFFFFF#000000##000000
##D027AF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#6C7FAB
Tritanopia (blue-blind)
#DC336B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d027af;
/* rgb */ color: rgb(208, 39, 175);
/* oklch */ color: oklch(59.6% 0.238 337.9);
Tailwind
colors: {
  custom: {
    50: '#e377c7',
    500: '#d027af',
    950: '#000000',
  },
}
SCSS
$custom: #d027af;
$custom-light: #e377c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d027af",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 311.716,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.23832,
    "h": 337.9
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#D027AF
secondary
#80D290
accent
#EB5F3D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D027AF

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

Preview Lab → · Contrast checker → · Palette generator →

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