#DC5FAB#DC5FAB

#DC5FAB is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.4% C 0.177 H 345.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#DC5FAB
RGBrgb(220, 95, 171)
HSLhsl(324, 64%, 62%)
HSVhsv(324, 57%, 86%)
CMYKcmyk(0%, 56.8%, 22.3%, 13.7%)
CIE-LABlab(58.36, 57.14, -16.74)
CIE-LCHlch(58.36, 59.54, 343.67°)
OKLaboklab(66.42% 0.1715 -0.0443)
OKLCHoklch(66.42% 0.177 345.5)
XYZxyz(40.9593, 26.3440, 41.4479)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FAB #5FDC90
analogous
#CF5FDC #DC5FAB #DC5F6D
triadic
#DC5FAB #ABDC5F #5FABDC
tetradic
#DC5FAB #DCCF5F #5FDC90 #5F6DDC
square
#DC5FAB #DCCF5F #5FDC90 #5F6DDC
split-complementary
#DC5FAB #6DDC5F #5FDCCF
monochromatic
#9E236E #D02E90 #DC5FAB #E791C5 #F2C3E0

Accessibility & contrast

On white

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

On black

6.27
#DC5FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FAB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FAB#FFFFFF#000000##000000
##DC5FAB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAD
Deuteranopia (green-blind)
#8E94A8
Tritanopia (blue-blind)
#E95D7D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc5fab;
/* rgb */ color: rgb(220, 95, 171);
/* oklch */ color: oklch(66.4% 0.177 345.5);
Tailwind
colors: {
  custom: {
    50: '#ea92c4',
    500: '#dc5fab',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fab;
$custom-light: #ea92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fab",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 323.52,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.1771,
    "h": 345.5
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC5FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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