#DF97CB#DF97CB

#DF97CB is a light, moderate pink. Relative luminance 0.421; OKLCH L 76.3% C 0.109 H 337.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#DF97CB
RGBrgb(223, 151, 203)
HSLhsl(317, 53%, 73%)
HSVhsv(317, 32%, 87%)
CMYKcmyk(0%, 32.3%, 9%, 12.5%)
CIE-LABlab(70.96, 34.82, -15.71)
CIE-LCHlch(70.96, 38.20, 335.71°)
OKLaboklab(76.34% 0.1005 -0.0419)
OKLCHoklch(76.34% 0.109 337.4)
XYZxyz(52.2772, 42.1354, 61.8676)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97CB #97DFAB
analogous
#CF97DF #DF97CB #DF97A7
triadic
#DF97CB #CBDF97 #97CBDF
tetradic
#DF97CB #DFCF97 #97DFAB #97A7DF
square
#DF97CB #DFCF97 #97DFAB #97A7DF
split-complementary
#DF97CB #A7DF97 #97DFCF
monochromatic
#C03B9B #D168B4 #DF97CB #EDC6E2 #F8E8F3

Accessibility & contrast

On white

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

On black

9.43
#DF97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97CB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97CB#FFFFFF#000000##000000
##DF97CB1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CD
Deuteranopia (green-blind)
#AAB2C9
Tritanopia (blue-blind)
#E799A9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df97cb;
/* rgb */ color: rgb(223, 151, 203);
/* oklch */ color: oklch(76.3% 0.109 337.4);
Tailwind
colors: {
  custom: {
    50: '#eab6da',
    500: '#df97cb',
    950: '#000000',
  },
}
SCSS
$custom: #df97cb;
$custom-light: #eab6da;
$custom-dark: #000000;
JSON
{
  "hex": "#df97cb",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 316.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.10887,
    "h": 337.4
  },
  "luminance": 0.42133
}

Semantic roles & 50–950 ramp

primary
#DF97CB
secondary
#DCEFE1
accent
#C05025
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#161115
muted
#848083

Preview Lab

Preview with #DF97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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