#D97FCA#D97FCA

#D97FCA is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.8% C 0.145 H 333.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D97FCA
RGBrgb(217, 127, 202)
HSLhsl(310, 54%, 67%)
HSVhsv(310, 41%, 85%)
CMYKcmyk(0%, 41.5%, 6.9%, 14.9%)
CIE-LABlab(65.12, 45.36, -24.11)
CIE-LCHlch(65.12, 51.37, 332.01°)
OKLaboklab(71.76% 0.1297 -0.0651)
OKLCHoklch(71.76% 0.145 333.3)
XYZxyz(46.8650, 34.1973, 59.9979)
Luminance0.3419 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FCA #7FD98E
analogous
#BB7FD9 #D97FCA #D97F9D
triadic
#D97FCA #CAD97F #7FCAD9
tetradic
#D97FCA #D9BB7F #7FD98E #7F9DD9
square
#D97FCA #D9BB7F #7FD98E #7F9DD9
split-complementary
#D97FCA #9DD97F #7FD9BB
monochromatic
#AB3397 #CB50B6 #D97FCA #E7AEDE #F5DDF1

Accessibility & contrast

On white

2.68
#D97FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D97FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FCA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FCA#FFFFFF#000000##000000
##D97FCA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#96A3C7
Tritanopia (blue-blind)
#E1849B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97fca;
/* rgb */ color: rgb(217, 127, 202);
/* oklch */ color: oklch(71.8% 0.145 333.3);
Tailwind
colors: {
  custom: {
    50: '#e6a6da',
    500: '#d97fca',
    950: '#000000',
  },
}
SCSS
$custom: #d97fca;
$custom-light: #e6a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fca",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 310,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.14516,
    "h": 333.3
  },
  "luminance": 0.34195
}

Semantic roles & 50–950 ramp

primary
#D97FCA
secondary
#CCE8D1
accent
#C23E24
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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