#D027B1#D027B1

#D027B1 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.7% C 0.240 H 337.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D027B1
RGBrgb(208, 39, 177)
HSLhsl(311, 68%, 48%)
HSVhsv(311, 81%, 82%)
CMYKcmyk(0%, 81.3%, 14.9%, 18.4%)
CIE-LABlab(49.54, 74.75, -34.00)
CIE-LCHlch(49.54, 82.13, 335.54°)
OKLaboklab(59.7% 0.221 -0.0926)
OKLCHoklch(59.7% 0.24 337.3)
XYZxyz(34.6745, 18.0387, 43.2421)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027B1 #27D046
analogous
#9A27D0 #D027B1 #D0275C
triadic
#D027B1 #B1D027 #27B1D0
tetradic
#D027B1 #D09A27 #27D046 #275CD0
square
#D027B1 #D09A27 #27D046 #275CD0
split-complementary
#D027B1 #5CD027 #27D09A
monochromatic
#691459 #9C1D85 #D027B1 #DF55C6 #E989D7

Accessibility & contrast

On white

4.56
#D027B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#D027B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D027B1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027B1#FFFFFF#000000##000000
##D027B11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#DB346C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d027b1;
/* rgb */ color: rgb(208, 39, 177);
/* oklch */ color: oklch(59.7% 0.240 337.3);
Tailwind
colors: {
  custom: {
    50: '#e377c8',
    500: '#d027b1',
    950: '#000000',
  },
}
SCSS
$custom: #d027b1;
$custom-light: #e377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d027b1",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 311.006,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.23958,
    "h": 337.3
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#D027B1
secondary
#80D28F
accent
#EB5D3D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D027B1

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

Preview Lab → · Contrast checker → · Palette generator →

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