#DD97CF#DD97CF

#DD97CF is a light, moderate pink. Relative luminance 0.420; OKLCH L 76.3% C 0.111 H 334.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DD97CF
RGBrgb(221, 151, 207)
HSLhsl(312, 51%, 73%)
HSVhsv(312, 32%, 87%)
CMYKcmyk(0%, 31.7%, 6.3%, 13.3%)
CIE-LABlab(70.88, 34.84, -18.07)
CIE-LCHlch(70.88, 39.25, 332.58°)
OKLaboklab(76.27% 0.0994 -0.0485)
OKLCHoklch(76.27% 0.111 334)
XYZxyz(52.1473, 42.0126, 64.3818)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97CF #97DDA5
analogous
#C897DD #DD97CF #DD97AC
triadic
#DD97CF #CFDD97 #97CFDD
tetradic
#DD97CF #DDC897 #97DDA5 #97ACDD
square
#DD97CF #DDC897 #97DDA5 #97ACDD
split-complementary
#DD97CF #ACDD97 #97DDC8
monochromatic
#BC3DA3 #CE69BA #DD97CF #ECC5E4 #F7E8F4

Accessibility & contrast

On white

2.23
#DD97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DD97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97CF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97CF#FFFFFF#000000##000000
##DD97CF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7D1
Deuteranopia (green-blind)
#A8B1CD
Tritanopia (blue-blind)
#E49AAB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dd97cf;
/* rgb */ color: rgb(221, 151, 207);
/* oklch */ color: oklch(76.3% 0.111 334.0);
Tailwind
colors: {
  custom: {
    50: '#e8b6dd',
    500: '#dd97cf',
    950: '#000000',
  },
}
SCSS
$custom: #dd97cf;
$custom-light: #e8b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97cf",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 312,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7627,
    "c": 0.1106,
    "h": 334
  },
  "luminance": 0.4201
}

Semantic roles & 50–950 ramp

primary
#DD97CF
secondary
#DCEFE0
accent
#BE4627
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DD97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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