#DF97D2#DF97D2

#DF97D2 is a light, moderate pink. Relative luminance 0.425; OKLCH L 76.6% C 0.115 H 333.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#DF97D2
RGBrgb(223, 151, 210)
HSLhsl(311, 53%, 73%)
HSVhsv(311, 32%, 87%)
CMYKcmyk(0%, 32.3%, 5.8%, 12.5%)
CIE-LABlab(71.20, 36.03, -19.23)
CIE-LCHlch(71.20, 40.84, 331.91°)
OKLaboklab(76.6% 0.1026 -0.0516)
OKLCHoklch(76.6% 0.115 333.3)
XYZxyz(53.1303, 42.4766, 66.3605)
Luminance0.4247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97D2 #97DFA4
analogous
#C897DF #DF97D2 #DF97AE
triadic
#DF97D2 #D2DF97 #97D2DF
tetradic
#DF97D2 #DFC897 #97DFA4 #97AEDF
square
#DF97D2 #DFC897 #97DFA4 #97AEDF
split-complementary
#DF97D2 #AEDF97 #97DFC8
monochromatic
#C03BA8 #D168BE #DF97D2 #EDC6E6 #F8E8F5

Accessibility & contrast

On white

2.21
#DF97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#DF97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97D2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97D2#FFFFFF#000000##000000
##DF97D21.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A8D4
Deuteranopia (green-blind)
#A8B2D0
Tritanopia (blue-blind)
#E69AAC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df97d2;
/* rgb */ color: rgb(223, 151, 210);
/* oklch */ color: oklch(76.6% 0.115 333.3);
Tailwind
colors: {
  custom: {
    50: '#eab6e0',
    500: '#df97d2',
    950: '#000000',
  },
}
SCSS
$custom: #df97d2;
$custom-light: #eab6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#df97d2",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 310.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76595,
    "c": 0.11482,
    "h": 333.3
  },
  "luminance": 0.42474
}

Semantic roles & 50–950 ramp

primary
#DF97D2
secondary
#DCEFDF
accent
#C04125
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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