#D027B3#D027B3

#D027B3 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.8% C 0.241 H 336.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D027B3
RGBrgb(208, 39, 179)
HSLhsl(310, 68%, 48%)
HSVhsv(310, 81%, 82%)
CMYKcmyk(0%, 81.3%, 13.9%, 18.4%)
CIE-LABlab(49.64, 75.02, -35.03)
CIE-LCHlch(49.64, 82.80, 334.97°)
OKLaboklab(59.8% 0.2211 -0.0956)
OKLCHoklch(59.8% 0.241 336.6)
XYZxyz(34.8753, 18.1190, 44.2997)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027B3 #27D044
analogous
#9827D0 #D027B3 #D0275E
triadic
#D027B3 #B3D027 #27B3D0
tetradic
#D027B3 #D09827 #27D044 #275ED0
square
#D027B3 #D09827 #27D044 #275ED0
split-complementary
#D027B3 #5ED027 #27D098
monochromatic
#69145A #9C1D87 #D027B3 #DF55C7 #E989D8

Accessibility & contrast

On white

4.54
#D027B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#D027B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D027B3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027B3#FFFFFF#000000##000000
##D027B31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#DB356D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d027b3;
/* rgb */ color: rgb(208, 39, 179);
/* oklch */ color: oklch(59.8% 0.241 336.6);
Tailwind
colors: {
  custom: {
    50: '#e377ca',
    500: '#d027b3',
    950: '#000000',
  },
}
SCSS
$custom: #d027b3;
$custom-light: #e377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d027b3",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 310.296,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.598,
    "c": 0.24086,
    "h": 336.6
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#D027B3
secondary
#80D28E
accent
#EB5B3D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D027B3

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

Preview Lab → · Contrast checker → · Palette generator →

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