#D97298#D97298

#D97298 is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.0% C 0.135 H 357.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D97298
RGBrgb(217, 114, 152)
HSLhsl(338, 58%, 65%)
HSVhsv(338, 47%, 85%)
CMYKcmyk(0%, 47.5%, 30%, 14.9%)
CIE-LABlab(60.83, 44.46, -2.13)
CIE-LCHlch(60.83, 44.51, 357.26°)
OKLaboklab(67.98% 0.1347 -0.005)
OKLCHoklch(67.98% 0.135 357.9)
XYZxyz(40.3016, 29.0568, 33.1856)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97298 #72D9B3
analogous
#D972CC #D97298 #D97F72
triadic
#D97298 #98D972 #7298D9
tetradic
#D97298 #CCD972 #72D9B3 #7F72D9
square
#D97298 #CCD972 #72D9B3 #7F72D9
split-complementary
#D97298 #72D97F #72CCD9
monochromatic
#A42C59 #CC4275 #D97298 #E6A2BB #F3D2DE

Accessibility & contrast

On white

3.08
#D97298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D97298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D97298
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97298#FFFFFF#000000##000000
##D972981.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818799
Deuteranopia (green-blind)
#9B9A96
Tritanopia (blue-blind)
#E76C80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d97298;
/* rgb */ color: rgb(217, 114, 152);
/* oklch */ color: oklch(68.0% 0.135 357.9);
Tailwind
colors: {
  custom: {
    50: '#e79db6',
    500: '#d97298',
    950: '#000000',
  },
}
SCSS
$custom: #d97298;
$custom-light: #e79db6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97298",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 337.864,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.1348,
    "h": 357.9
  },
  "luminance": 0.29053
}

Semantic roles & 50–950 ramp

primary
#D97298
secondary
#C2E5D8
accent
#C58820
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#160E11
muted
#847E80

Preview Lab

Preview with #D97298

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

Preview Lab → · Contrast checker → · Palette generator →

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