#DC5FA2#DC5FA2

#DC5FA2 is a light, vivid pink. Relative luminance 0.260; OKLCH L 66.1% C 0.172 H 349.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#DC5FA2
RGBrgb(220, 95, 162)
HSLhsl(328, 64%, 62%)
HSVhsv(328, 57%, 86%)
CMYKcmyk(0%, 56.8%, 26.4%, 13.7%)
CIE-LABlab(58.05, 55.93, -12.00)
CIE-LCHlch(58.05, 57.20, 347.89°)
OKLaboklab(66.09% 0.1691 -0.0313)
OKLCHoklch(66.09% 0.172 349.5)
XYZxyz(40.1305, 26.0125, 37.0828)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FA2 #5FDC99
analogous
#D85FDC #DC5FA2 #DC5F64
triadic
#DC5FA2 #A2DC5F #5FA2DC
tetradic
#DC5FA2 #DCD85F #5FDC99 #5F64DC
square
#DC5FA2 #DCD85F #5FDC99 #5F64DC
split-complementary
#DC5FA2 #64DC5F #5FDCD8
monochromatic
#9E2365 #D02E85 #DC5FA2 #E791BF #F2C3DC

Accessibility & contrast

On white

3.39
#DC5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#DC5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FA2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FA2#FFFFFF#000000##000000
##DC5FA21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#90949F
Tritanopia (blue-blind)
#EA5B79
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc5fa2;
/* rgb */ color: rgb(220, 95, 162);
/* oklch */ color: oklch(66.1% 0.172 349.5);
Tailwind
colors: {
  custom: {
    50: '#ea92bd',
    500: '#dc5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fa2;
$custom-light: #ea92bd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fa2",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 327.84,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66086,
    "c": 0.17193,
    "h": 349.5
  },
  "luminance": 0.26009
}

Semantic roles & 50–950 ramp

primary
#DC5FA2
secondary
#B4E3CA
accent
#CC6C1A
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #DC5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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