#DC5F97#DC5F97

#DC5F97 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.7% C 0.167 H 354.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#DC5F97
RGBrgb(220, 95, 151)
HSLhsl(333, 64%, 62%)
HSVhsv(333, 57%, 86%)
CMYKcmyk(0%, 56.8%, 31.4%, 13.7%)
CIE-LABlab(57.69, 54.53, -6.13)
CIE-LCHlch(57.69, 54.87, 353.58°)
OKLaboklab(65.7% 0.1658 -0.0155)
OKLCHoklch(65.7% 0.167 354.7)
XYZxyz(39.1952, 25.6383, 32.1567)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5F97 #5FDCA4
analogous
#DC5FD6 #DC5F97 #DC665F
triadic
#DC5F97 #97DC5F #5F97DC
tetradic
#DC5F97 #D6DC5F #5FDCA4 #665FDC
square
#DC5F97 #D6DC5F #5FDCA4 #665FDC
split-complementary
#DC5F97 #5FDC66 #5FD6DC
monochromatic
#9E235A #D02E76 #DC5F97 #E791B8 #F2C3D8

Accessibility & contrast

On white

3.43
#DC5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#DC5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5F97
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5F97#FFFFFF#000000##000000
##DC5F971.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C99
Deuteranopia (green-blind)
#939394
Tritanopia (blue-blind)
#EB5775
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc5f97;
/* rgb */ color: rgb(220, 95, 151);
/* oklch */ color: oklch(65.7% 0.167 354.7);
Tailwind
colors: {
  custom: {
    50: '#ea91b5',
    500: '#dc5f97',
    950: '#000000',
  },
}
SCSS
$custom: #dc5f97;
$custom-light: #ea91b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5f97",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 333.12,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65704,
    "c": 0.16651,
    "h": 354.7
  },
  "luminance": 0.25634
}

Semantic roles & 50–950 ramp

primary
#DC5F97
secondary
#B4E3CE
accent
#CC7C1A
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DC5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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