#D97EA7#D97EA7

#D97EA7 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.3% C 0.122 H 352.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D97EA7
RGBrgb(217, 126, 167)
HSLhsl(333, 54%, 67%)
HSVhsv(333, 42%, 85%)
CMYKcmyk(0%, 41.9%, 23%, 14.9%)
CIE-LABlab(63.73, 40.34, -6.43)
CIE-LCHlch(63.73, 40.85, 350.94°)
OKLaboklab(70.32% 0.1211 -0.0165)
OKLCHoklch(70.32% 0.122 352.2)
XYZxyz(43.0522, 32.4665, 40.5509)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA7 #7ED9B0
analogous
#D97ED5 #D97EA7 #D9837E
triadic
#D97EA7 #A7D97E #7EA7D9
tetradic
#D97EA7 #D5D97E #7ED9B0 #837ED9
square
#D97EA7 #D5D97E #7ED9B0 #837ED9
split-complementary
#D97EA7 #7ED983 #7ED5D9
monochromatic
#AA3268 #CB4F87 #D97EA7 #E7ADC7 #F5DDE7

Accessibility & contrast

On white

2.80
#D97EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D97EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA7#FFFFFF#000000##000000
##D97EA71.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A8
Deuteranopia (green-blind)
#9FA0A5
Tritanopia (blue-blind)
#E57B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea7;
/* rgb */ color: rgb(217, 126, 167);
/* oklch */ color: oklch(70.3% 0.122 352.2);
Tailwind
colors: {
  custom: {
    50: '#e7a5c1',
    500: '#d97ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea7;
$custom-light: #e7a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea7",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 332.967,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70316,
    "c": 0.12221,
    "h": 352.2
  },
  "luminance": 0.32463
}

Semantic roles & 50–950 ramp

primary
#D97EA7
secondary
#CBE8DB
accent
#C27B24
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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