#D97EA2#D97EA2

#D97EA2 is a light, moderate pink. Relative luminance 0.323; OKLCH L 70.2% C 0.120 H 355.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D97EA2
RGBrgb(217, 126, 162)
HSLhsl(336, 54%, 67%)
HSVhsv(336, 42%, 85%)
CMYKcmyk(0%, 41.9%, 25.3%, 14.9%)
CIE-LABlab(63.58, 39.63, -3.81)
CIE-LCHlch(63.58, 39.81, 354.51°)
OKLaboklab(70.15% 0.1194 -0.0095)
OKLCHoklch(70.15% 0.12 355.4)
XYZxyz(42.5989, 32.2852, 38.1634)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA2 #7ED9B5
analogous
#D97ECF #D97EA2 #D9887E
triadic
#D97EA2 #A2D97E #7EA2D9
tetradic
#D97EA2 #CFD97E #7ED9B5 #887ED9
square
#D97EA2 #CFD97E #7ED9B5 #887ED9
split-complementary
#D97EA2 #7ED988 #7ECFD9
monochromatic
#AA3262 #CB4F80 #D97EA2 #E7ADC4 #F5DDE6

Accessibility & contrast

On white

2.82
#D97EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D97EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA2#FFFFFF#000000##000000
##D97EA21.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#E67A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea2;
/* rgb */ color: rgb(217, 126, 162);
/* oklch */ color: oklch(70.2% 0.120 355.4);
Tailwind
colors: {
  custom: {
    50: '#e7a5bd',
    500: '#d97ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea2;
$custom-light: #e7a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea2",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 336.264,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.11979,
    "h": 355.4
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#D97EA2
secondary
#CBE8DC
accent
#C28324
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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