#DF5F8A#DF5F8A

#DF5F8A is a light, vivid pink. Relative luminance 0.257; OKLCH L 65.7% C 0.165 H 1.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#DF5F8A
RGBrgb(223, 95, 138)
HSLhsl(340, 67%, 62%)
HSVhsv(340, 57%, 87%)
CMYKcmyk(0%, 57.4%, 38.1%, 12.5%)
CIE-LABlab(57.76, 53.96, 1.61)
CIE-LCHlch(57.76, 53.99, 1.71°)
OKLaboklab(65.72% 0.1645 0.0049)
OKLCHoklch(65.72% 0.165 1.7)
XYZxyz(39.1134, 25.7116, 26.9428)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5F8A #5FDFB4
analogous
#DF5FCA #DF5F8A #DF745F
triadic
#DF5F8A #8ADF5F #5F8ADF
tetradic
#DF5F8A #CADF5F #5FDFB4 #745FDF
square
#DF5F8A #CADF5F #5FDFB4 #745FDF
split-complementary
#DF5F8A #5FDF74 #5FCADF
monochromatic
#A3214C #D52C65 #DF5F8A #E992AF #F3C5D5

Accessibility & contrast

On white

3.42
#DF5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#DF5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5F8A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5F8A#FFFFFF#000000##000000
##DF5F8A1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B8B
Deuteranopia (green-blind)
#979487
Tritanopia (blue-blind)
#F0536F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df5f8a;
/* rgb */ color: rgb(223, 95, 138);
/* oklch */ color: oklch(65.7% 0.165 1.7);
Tailwind
colors: {
  custom: {
    50: '#ed91ac',
    500: '#df5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #df5f8a;
$custom-light: #ed91ac;
$custom-dark: #000000;
JSON
{
  "hex": "#df5f8a",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 339.844,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.16458,
    "h": 1.7
  },
  "luminance": 0.25707
}

Semantic roles & 50–950 ramp

primary
#DF5F8A
secondary
#B6E4D5
accent
#CF9117
background
#FFF9FA
surface
#FEF2F4
border
#D6CCCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DF5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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