#DC5FAC#DC5FAC

#DC5FAC is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.5% C 0.178 H 345.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#DC5FAC
RGBrgb(220, 95, 172)
HSLhsl(323, 64%, 62%)
HSVhsv(323, 57%, 86%)
CMYKcmyk(0%, 56.8%, 21.8%, 13.7%)
CIE-LABlab(58.40, 57.28, -17.26)
CIE-LCHlch(58.40, 59.82, 343.23°)
OKLaboklab(66.46% 0.1717 -0.0457)
OKLCHoklch(66.46% 0.178 345.1)
XYZxyz(41.0550, 26.3823, 41.9518)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FAC #5FDC8F
analogous
#CE5FDC #DC5FAC #DC5F6E
triadic
#DC5FAC #ACDC5F #5FACDC
tetradic
#DC5FAC #DCCE5F #5FDC8F #5F6EDC
square
#DC5FAC #DCCE5F #5FDC8F #5F6EDC
split-complementary
#DC5FAC #6EDC5F #5FDCCE
monochromatic
#9E236F #D02E92 #DC5FAC #E791C6 #F2C3E0

Accessibility & contrast

On white

3.35
#DC5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#DC5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FAC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FAC#FFFFFF#000000##000000
##DC5FAC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#8D94A9
Tritanopia (blue-blind)
#E95E7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc5fac;
/* rgb */ color: rgb(220, 95, 172);
/* oklch */ color: oklch(66.5% 0.178 345.1);
Tailwind
colors: {
  custom: {
    50: '#ea92c4',
    500: '#dc5fac',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fac;
$custom-light: #ea92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fac",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 323.04,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.17771,
    "h": 345.1
  },
  "luminance": 0.26379
}

Semantic roles & 50–950 ramp

primary
#DC5FAC
secondary
#B4E3C6
accent
#CC5E1A
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170D12
muted
#857E81

Preview Lab

Preview with #DC5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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