#DF5F8D#DF5F8D

#DF5F8D is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.8% C 0.166 H 0.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#DF5F8D
RGBrgb(223, 95, 141)
HSLhsl(338, 67%, 62%)
HSVhsv(338, 57%, 87%)
CMYKcmyk(0%, 57.4%, 36.8%, 12.5%)
CIE-LABlab(57.85, 54.30, -0.02)
CIE-LCHlch(57.85, 54.30, 359.98°)
OKLaboklab(65.81% 0.1655 0.0006)
OKLCHoklch(65.81% 0.166 0.2)
XYZxyz(39.3336, 25.7996, 28.1025)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5F8D #5FDFB1
analogous
#DF5FCD #DF5F8D #DF715F
triadic
#DF5F8D #8DDF5F #5F8DDF
tetradic
#DF5F8D #CDDF5F #5FDFB1 #715FDF
square
#DF5F8D #CDDF5F #5FDFB1 #715FDF
split-complementary
#DF5F8D #5FDF71 #5FCDDF
monochromatic
#A3214F #D52C69 #DF5F8D #E992B1 #F3C5D6

Accessibility & contrast

On white

3.41
#DF5F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#DF5F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5F8D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5F8D#FFFFFF#000000##000000
##DF5F8D1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C8E
Deuteranopia (green-blind)
#97948A
Tritanopia (blue-blind)
#F05470
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df5f8d;
/* rgb */ color: rgb(223, 95, 141);
/* oklch */ color: oklch(65.8% 0.166 0.2);
Tailwind
colors: {
  custom: {
    50: '#ed92ae',
    500: '#df5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #df5f8d;
$custom-light: #ed92ae;
$custom-dark: #000000;
JSON
{
  "hex": "#df5f8d",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 338.438,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.16553,
    "h": 0.2
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#DF5F8D
secondary
#B6E4D3
accent
#CF8D17
background
#FFF9FA
surface
#FEF2F4
border
#D6CCCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DF5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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