#D28EA7#D28EA7

#D28EA7 is a light, moderate pink. Relative luminance 0.358; OKLCH L 72.2% C 0.088 H 355.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D28EA7
RGBrgb(210, 142, 167)
HSLhsl(338, 43%, 69%)
HSVhsv(338, 32%, 82%)
CMYKcmyk(0%, 32.4%, 20.5%, 17.6%)
CIE-LABlab(66.40, 29.35, -2.58)
CIE-LCHlch(66.40, 29.46, 354.97°)
OKLaboklab(72.17% 0.0879 -0.0064)
OKLCHoklch(72.17% 0.088 355.8)
XYZxyz(43.2270, 35.8401, 41.1927)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EA7 #8ED2B9
analogous
#D28EC9 #D28EA7 #D2978E
triadic
#D28EA7 #A7D28E #8EA7D2
tetradic
#D28EA7 #C9D28E #8ED2B9 #978ED2
square
#D28EA7 #C9D28E #8ED2B9 #978ED2
split-complementary
#D28EA7 #8ED297 #8EC9D2
monochromatic
#A44166 #C16285 #D28EA7 #E3BAC9 #F5E6EB

Accessibility & contrast

On white

2.57
#D28EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D28EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EA7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EA7#FFFFFF#000000##000000
##D28EA71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#969AA8
Deuteranopia (green-blind)
#A6A6A5
Tritanopia (blue-blind)
#DC8B97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d28ea7;
/* rgb */ color: rgb(210, 142, 167);
/* oklch */ color: oklch(72.2% 0.088 355.8);
Tailwind
colors: {
  custom: {
    50: '#e1b0c1',
    500: '#d28ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d28ea7;
$custom-light: #e1b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ea7",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 337.941,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.08814,
    "h": 355.8
  },
  "luminance": 0.35838
}

Semantic roles & 50–950 ramp

primary
#D28EA7
secondary
#D4E8E1
accent
#B6852F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #D28EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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