#DF5198#DF5198

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

Color values

HEX#DF5198
RGBrgb(223, 81, 152)
HSLhsl(330, 69%, 60%)
HSVhsv(330, 64%, 87%)
CMYKcmyk(0%, 63.7%, 31.8%, 12.5%)
CIE-LABlab(55.93, 61.63, -9.29)
CIE-LCHlch(55.93, 62.33, 351.43°)
OKLaboklab(64.5% 0.1879 -0.0238)
OKLCHoklch(64.5% 0.189 352.8)
XYZxyz(39.0434, 23.8440, 32.2459)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5198 #51DF98
analogous
#DF51DF #DF5198 #DF5151
triadic
#DF5198 #98DF51 #5198DF
tetradic
#DF5198 #DFDF51 #51DF98 #5151DF
square
#DF5198 #DFDF51 #51DF98 #5151DF
split-complementary
#DF5198 #51DF51 #51DFDF
monochromatic
#991C5B #CD2679 #DF5198 #E985B7 #F2B8D5

Accessibility & contrast

On white

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

On black

5.77
#DF5198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5198
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5198#FFFFFF#000000##000000
##DF51981.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#8E9095
Tritanopia (blue-blind)
#EF486E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #df5198;
/* rgb */ color: rgb(223, 81, 152);
/* oklch */ color: oklch(64.5% 0.189 352.8);
Tailwind
colors: {
  custom: {
    50: '#ed8ab6',
    500: '#df5198',
    950: '#000000',
  },
}
SCSS
$custom: #df5198;
$custom-light: #ed8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#df5198",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 330,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.18942,
    "h": 352.8
  },
  "luminance": 0.2384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF5198

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

Preview Lab → · Contrast checker → · Palette generator →

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