#D027BB#D027BB

#D027BB is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.2% C 0.246 H 334.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D027BB
RGBrgb(208, 39, 187)
HSLhsl(307, 68%, 48%)
HSVhsv(307, 81%, 82%)
CMYKcmyk(0%, 81.3%, 10.1%, 18.4%)
CIE-LABlab(50.04, 76.13, -39.07)
CIE-LCHlch(50.04, 85.57, 332.83°)
OKLaboklab(60.22% 0.2215 -0.1072)
OKLCHoklch(60.22% 0.246 334.2)
XYZxyz(35.7080, 18.4520, 48.6851)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027BB #27D03C
analogous
#9027D0 #D027BB #D02766
triadic
#D027BB #BBD027 #27BBD0
tetradic
#D027BB #D09027 #27D03C #2766D0
square
#D027BB #D09027 #27D03C #2766D0
split-complementary
#D027BB #66D027 #27D090
monochromatic
#69145E #9C1D8D #D027BB #DF55CE #E989DD

Accessibility & contrast

On white

4.48
#D027BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D027BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D027BB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027BB#FFFFFF#000000##000000
##D027BB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#DA3A72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d027bb;
/* rgb */ color: rgb(208, 39, 187);
/* oklch */ color: oklch(60.2% 0.246 334.2);
Tailwind
colors: {
  custom: {
    50: '#e377d0',
    500: '#d027bb',
    950: '#000000',
  },
}
SCSS
$custom: #d027bb;
$custom-light: #e377d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d027bb",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 307.456,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.24603,
    "h": 334.2
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#D027BB
secondary
#80D28B
accent
#EB523D
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D027BB

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

Preview Lab → · Contrast checker → · Palette generator →

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