#D97FC2#D97FC2

#D97FC2 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.4% C 0.139 H 337.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D97FC2
RGBrgb(217, 127, 194)
HSLhsl(315, 54%, 67%)
HSVhsv(315, 41%, 85%)
CMYKcmyk(0%, 41.5%, 10.6%, 14.9%)
CIE-LABlab(64.83, 44.01, -20.06)
CIE-LCHlch(64.83, 48.37, 335.50°)
OKLaboklab(71.44% 0.1277 -0.0538)
OKLCHoklch(71.44% 0.139 337.1)
XYZxyz(45.9423, 33.8282, 55.1381)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FC2 #7FD996
analogous
#C37FD9 #D97FC2 #D97F95
triadic
#D97FC2 #C2D97F #7FC2D9
tetradic
#D97FC2 #D9C37F #7FD996 #7F95D9
square
#D97FC2 #D9C37F #7FD996 #7F95D9
split-complementary
#D97FC2 #95D97F #7FD9C3
monochromatic
#AB338C #CB50AC #D97FC2 #E7AED8 #F5DDEF

Accessibility & contrast

On white

2.70
#D97FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D97FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FC2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FC2#FFFFFF#000000##000000
##D97FC21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#98A2BF
Tritanopia (blue-blind)
#E28298
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97fc2;
/* rgb */ color: rgb(217, 127, 194);
/* oklch */ color: oklch(71.4% 0.139 337.1);
Tailwind
colors: {
  custom: {
    50: '#e6a6d4',
    500: '#d97fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d97fc2;
$custom-light: #e6a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fc2",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 315.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.13855,
    "h": 337.1
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#D97FC2
secondary
#CCE8D3
accent
#C24C24
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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