#DF97D3#DF97D3

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

Color values

HEX#DF97D3
RGBrgb(223, 151, 211)
HSLhsl(310, 53%, 73%)
HSVhsv(310, 32%, 87%)
CMYKcmyk(0%, 32.3%, 5.4%, 12.5%)
CIE-LABlab(71.23, 36.20, -19.73)
CIE-LCHlch(71.23, 41.23, 331.41°)
OKLaboklab(76.63% 0.1029 -0.053)
OKLCHoklch(76.63% 0.116 332.7)
XYZxyz(53.2553, 42.5266, 67.0186)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97D3 #97DFA3
analogous
#C797DF #DF97D3 #DF97AF
triadic
#DF97D3 #D3DF97 #97D3DF
tetradic
#DF97D3 #DFC797 #97DFA3 #97AFDF
square
#DF97D3 #DFC797 #97DFA3 #97AFDF
split-complementary
#DF97D3 #AFDF97 #97DFC7
monochromatic
#C03BAA #D168BF #DF97D3 #EDC6E7 #F8E8F5

Accessibility & contrast

On white

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

On black

9.50
#DF97D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97D3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97D3#FFFFFF#000000##000000
##DF97D31.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A8D5
Deuteranopia (green-blind)
#A7B2D1
Tritanopia (blue-blind)
#E59BAD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df97d3;
/* rgb */ color: rgb(223, 151, 211);
/* oklch */ color: oklch(76.6% 0.116 332.7);
Tailwind
colors: {
  custom: {
    50: '#eab6e0',
    500: '#df97d3',
    950: '#000000',
  },
}
SCSS
$custom: #df97d3;
$custom-light: #eab6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#df97d3",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 310,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76632,
    "c": 0.11571,
    "h": 332.7
  },
  "luminance": 0.42524
}

Semantic roles & 50–950 ramp

primary
#DF97D3
secondary
#DCEFDF
accent
#C03F25
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF97D3

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

Preview Lab → · Contrast checker → · Palette generator →

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