#DF5F97#DF5F97

#DF5F97 is a light, vivid pink. Relative luminance 0.261; OKLCH L 66.1% C 0.169 H 355.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#DF5F97
RGBrgb(223, 95, 151)
HSLhsl(334, 67%, 62%)
HSVhsv(334, 57%, 87%)
CMYKcmyk(0%, 57.4%, 32.3%, 12.5%)
CIE-LABlab(58.14, 55.46, -5.42)
CIE-LCHlch(58.14, 55.73, 354.42°)
OKLaboklab(66.13% 0.1688 -0.0136)
OKLCHoklch(66.13% 0.169 355.4)
XYZxyz(40.1115, 26.1108, 32.1996)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5F97 #5FDFA7
analogous
#DF5FD7 #DF5F97 #DF675F
triadic
#DF5F97 #97DF5F #5F97DF
tetradic
#DF5F97 #D7DF5F #5FDFA7 #675FDF
square
#DF5F97 #D7DF5F #5FDFA7 #675FDF
split-complementary
#DF5F97 #5FDF67 #5FD7DF
monochromatic
#A3215A #D52C76 #DF5F97 #E992B8 #F3C5D9

Accessibility & contrast

On white

3.38
#DF5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#DF5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5F97
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5F97#FFFFFF#000000##000000
##DF5F971.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#959494
Tritanopia (blue-blind)
#EF5775
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df5f97;
/* rgb */ color: rgb(223, 95, 151);
/* oklch */ color: oklch(66.1% 0.169 355.4);
Tailwind
colors: {
  custom: {
    50: '#ed92b5',
    500: '#df5f97',
    950: '#000000',
  },
}
SCSS
$custom: #df5f97;
$custom-light: #ed92b5;
$custom-dark: #000000;
JSON
{
  "hex": "#df5f97",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 333.75,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66128,
    "c": 0.16934,
    "h": 355.4
  },
  "luminance": 0.26107
}

Semantic roles & 50–950 ramp

primary
#DF5F97
secondary
#B6E4D0
accent
#CF7E17
background
#FFF9FB
surface
#FEF2F6
border
#D6CCD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DF5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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