#DF5197#DF5197

#DF5197 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.5% C 0.189 H 353.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#DF5197
RGBrgb(223, 81, 151)
HSLhsl(330, 69%, 60%)
HSVhsv(330, 64%, 87%)
CMYKcmyk(0%, 63.7%, 32.3%, 12.5%)
CIE-LABlab(55.90, 61.52, -8.75)
CIE-LCHlch(55.90, 62.14, 351.90°)
OKLaboklab(64.46% 0.1876 -0.0224)
OKLCHoklch(64.46% 0.189 353.2)
XYZxyz(38.9618, 23.8114, 31.8164)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5197 #51DF99
analogous
#DF51DE #DF5197 #DF5251
triadic
#DF5197 #97DF51 #5197DF
tetradic
#DF5197 #DEDF51 #51DF99 #5251DF
square
#DF5197 #DEDF51 #51DF99 #5251DF
split-complementary
#DF5197 #51DF52 #51DEDF
monochromatic
#991C5A #CD2678 #DF5197 #E985B6 #F2B8D5

Accessibility & contrast

On white

3.64
#DF5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DF5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5197
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5197#FFFFFF#000000##000000
##DF51971.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#8E8F94
Tritanopia (blue-blind)
#EF486E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #df5197;
/* rgb */ color: rgb(223, 81, 151);
/* oklch */ color: oklch(64.5% 0.189 353.2);
Tailwind
colors: {
  custom: {
    50: '#ed8ab5',
    500: '#df5197',
    950: '#000000',
  },
}
SCSS
$custom: #df5197;
$custom-light: #ed8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#df5197",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 330.423,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.18896,
    "h": 353.2
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#DF5197
secondary
#AAE1C6
accent
#EC953C
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170C11
muted
#857D80

Preview Lab

Preview with #DF5197

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

Preview Lab → · Contrast checker → · Palette generator →

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