#D97EC0#D97EC0

#D97EC0 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.2% C 0.139 H 338.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D97EC0
RGBrgb(217, 126, 192)
HSLhsl(316, 54%, 67%)
HSVhsv(316, 42%, 85%)
CMYKcmyk(0%, 41.9%, 11.5%, 14.9%)
CIE-LABlab(64.55, 44.20, -19.35)
CIE-LCHlch(64.55, 48.25, 336.35°)
OKLaboklab(71.21% 0.1286 -0.0518)
OKLCHoklch(71.21% 0.139 338.1)
XYZxyz(45.5907, 33.4819, 53.9203)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EC0 #7ED997
analogous
#C57ED9 #D97EC0 #D97E92
triadic
#D97EC0 #C0D97E #7EC0D9
tetradic
#D97EC0 #D9C57E #7ED997 #7E92D9
square
#D97EC0 #D9C57E #7ED997 #7E92D9
split-complementary
#D97EC0 #92D97E #7ED9C5
monochromatic
#AA3289 #CB4FA9 #D97EC0 #E7ADD7 #F5DDEE

Accessibility & contrast

On white

2.73
#D97EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D97EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EC0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EC0#FFFFFF#000000##000000
##D97EC01.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C2
Deuteranopia (green-blind)
#98A2BD
Tritanopia (blue-blind)
#E28097
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97ec0;
/* rgb */ color: rgb(217, 126, 192);
/* oklch */ color: oklch(71.2% 0.139 338.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5d3',
    500: '#d97ec0',
    950: '#000000',
  },
}
SCSS
$custom: #d97ec0;
$custom-light: #e6a5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ec0",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 316.484,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.13869,
    "h": 338.1
  },
  "luminance": 0.33479
}

Semantic roles & 50–950 ramp

primary
#D97EC0
secondary
#CBE8D3
accent
#C24F24
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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