#DF7997#DF7997

#DF7997 is a light, vivid pink. Relative luminance 0.316; OKLCH L 69.8% C 0.130 H 2.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#DF7997
RGBrgb(223, 121, 151)
HSLhsl(342, 61%, 67%)
HSVhsv(342, 46%, 87%)
CMYKcmyk(0%, 45.7%, 32.3%, 12.5%)
CIE-LABlab(63.01, 42.84, 1.73)
CIE-LCHlch(63.01, 42.88, 2.31°)
OKLaboklab(69.79% 0.13 0.0051)
OKLCHoklch(69.79% 0.13 2.2)
XYZxyz(42.8565, 31.6008, 33.1146)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7997 #79DFC1
analogous
#DF79CA #DF7997 #DF8E79
triadic
#DF7997 #97DF79 #7997DF
tetradic
#DF7997 #CADF79 #79DFC1 #8E79DF
square
#DF7997 #CADF79 #79DFC1 #8E79DF
split-complementary
#DF7997 #79DF8E #79CADF
monochromatic
#B32B53 #D34871 #DF7997 #EBAABD #F7DCE4

Accessibility & contrast

On white

2.87
#DF7997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#DF7997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7997
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7997#FFFFFF#000000##000000
##DF79971.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D98
Deuteranopia (green-blind)
#A3A095
Tritanopia (blue-blind)
#EE7184
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #df7997;
/* rgb */ color: rgb(223, 121, 151);
/* oklch */ color: oklch(69.8% 0.130 2.2);
Tailwind
colors: {
  custom: {
    50: '#eca2b5',
    500: '#df7997',
    950: '#000000',
  },
}
SCSS
$custom: #df7997;
$custom-light: #eca2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#df7997",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 342.353,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69786,
    "c": 0.13006,
    "h": 2.2
  },
  "luminance": 0.31597
}

Semantic roles & 50–950 ramp

primary
#DF7997
secondary
#CAEAE0
accent
#C9961C
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #DF7997

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

Preview Lab → · Contrast checker → · Palette generator →

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