#DC5FA6#DC5FA6

#DC5FA6 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.2% C 0.174 H 347.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#DC5FA6
RGBrgb(220, 95, 166)
HSLhsl(326, 64%, 62%)
HSVhsv(326, 57%, 86%)
CMYKcmyk(0%, 56.8%, 24.5%, 13.7%)
CIE-LABlab(58.19, 56.46, -14.11)
CIE-LCHlch(58.19, 58.19, 345.97°)
OKLaboklab(66.23% 0.1702 -0.0371)
OKLCHoklch(66.23% 0.174 347.7)
XYZxyz(40.4917, 26.1570, 38.9853)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FA6 #5FDC95
analogous
#D45FDC #DC5FA6 #DC5F68
triadic
#DC5FA6 #A6DC5F #5FA6DC
tetradic
#DC5FA6 #DCD45F #5FDC95 #5F68DC
square
#DC5FA6 #DCD45F #5FDC95 #5F68DC
split-complementary
#DC5FA6 #68DC5F #5FDCD4
monochromatic
#9E2369 #D02E8A #DC5FA6 #E791C2 #F2C3DE

Accessibility & contrast

On white

3.37
#DC5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#DC5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FA6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FA6#FFFFFF#000000##000000
##DC5FA61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#8F94A3
Tritanopia (blue-blind)
#EA5C7B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc5fa6;
/* rgb */ color: rgb(220, 95, 166);
/* oklch */ color: oklch(66.2% 0.174 347.7);
Tailwind
colors: {
  custom: {
    50: '#ea92c0',
    500: '#dc5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fa6;
$custom-light: #ea92c0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fa6",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 325.92,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.17416,
    "h": 347.7
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#DC5FA6
secondary
#B4E3C8
accent
#CC671A
background
#FEF9FB
surface
#FDF2F7
border
#D5CCD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #DC5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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