#DF97C8#DF97C8

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

Color values

HEX#DF97C8
RGBrgb(223, 151, 200)
HSLhsl(319, 53%, 73%)
HSVhsv(319, 32%, 87%)
CMYKcmyk(0%, 32.3%, 10.3%, 12.5%)
CIE-LABlab(70.87, 34.31, -14.20)
CIE-LCHlch(70.87, 37.13, 337.52°)
OKLaboklab(76.23% 0.0996 -0.0378)
OKLCHoklch(76.23% 0.106 339.2)
XYZxyz(51.9232, 41.9938, 60.0030)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97C8 #97DFAE
analogous
#D297DF #DF97C8 #DF97A4
triadic
#DF97C8 #C8DF97 #97C8DF
tetradic
#DF97C8 #DFD297 #97DFAE #97A4DF
square
#DF97C8 #DFD297 #97DFAE #97A4DF
split-complementary
#DF97C8 #A4DF97 #97DFD2
monochromatic
#C03B96 #D168AF #DF97C8 #EDC6E1 #F8E8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF97C8#FFFFFF#000000##000000
##DF97C81.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)
#99A7CA
Deuteranopia (green-blind)
#ABB1C6
Tritanopia (blue-blind)
#E798A8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df97c8;
/* rgb */ color: rgb(223, 151, 200);
/* oklch */ color: oklch(76.2% 0.106 339.2);
Tailwind
colors: {
  custom: {
    50: '#eab6d8',
    500: '#df97c8',
    950: '#000000',
  },
}
SCSS
$custom: #df97c8;
$custom-light: #eab6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#df97c8",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 319.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76233,
    "c": 0.10647,
    "h": 339.2
  },
  "luminance": 0.41991
}

Semantic roles & 50–950 ramp

primary
#DF97C8
secondary
#DCEFE2
accent
#C05725
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #DF97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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