#DF97C2#DF97C2

#DF97C2 is a light, moderate pink. Relative luminance 0.417; OKLCH L 76.0% C 0.102 H 343.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#DF97C2
RGBrgb(223, 151, 194)
HSLhsl(324, 53%, 73%)
HSVhsv(324, 32%, 87%)
CMYKcmyk(0%, 32.3%, 13%, 12.5%)
CIE-LABlab(70.68, 33.32, -11.16)
CIE-LCHlch(70.68, 35.14, 341.48°)
OKLaboklab(76.02% 0.0977 -0.0295)
OKLCHoklch(76.02% 0.102 343.2)
XYZxyz(51.2357, 41.7188, 56.3822)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97C2 #97DFB4
analogous
#D897DF #DF97C2 #DF979E
triadic
#DF97C2 #C2DF97 #97C2DF
tetradic
#DF97C2 #DFD897 #97DFB4 #979EDF
square
#DF97C2 #DFD897 #97DFB4 #979EDF
split-complementary
#DF97C2 #9EDF97 #97DFD8
monochromatic
#C03B8B #D168A7 #DF97C2 #EDC6DD #F8E8F1

Accessibility & contrast

On white

2.25
#DF97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#DF97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97C2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97C2#FFFFFF#000000##000000
##DF97C21.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA6C4
Deuteranopia (green-blind)
#ACB1C0
Tritanopia (blue-blind)
#E897A6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df97c2;
/* rgb */ color: rgb(223, 151, 194);
/* oklch */ color: oklch(76.0% 0.102 343.2);
Tailwind
colors: {
  custom: {
    50: '#eab6d4',
    500: '#df97c2',
    950: '#000000',
  },
}
SCSS
$custom: #df97c2;
$custom-light: #eab6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#df97c2",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 324.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76025,
    "c": 0.102,
    "h": 343.2
  },
  "luminance": 0.41716
}

Semantic roles & 50–950 ramp

primary
#DF97C2
secondary
#DCEFE4
accent
#C06425
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #DF97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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