#DC5A98#DC5A98

#DC5A98 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.1% C 0.174 H 353.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#DC5A98
RGBrgb(220, 90, 152)
HSLhsl(331, 65%, 61%)
HSVhsv(331, 59%, 86%)
CMYKcmyk(0%, 59.1%, 30.9%, 13.7%)
CIE-LABlab(56.88, 56.91, -7.93)
CIE-LCHlch(56.88, 57.45, 352.07°)
OKLaboklab(65.11% 0.1731 -0.0203)
OKLCHoklch(65.11% 0.174 353.3)
XYZxyz(38.8407, 24.7989, 32.4408)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5A98 #5ADC9E
analogous
#DC5AD9 #DC5A98 #DC5D5A
triadic
#DC5A98 #98DC5A #5A98DC
tetradic
#DC5A98 #D9DC5A #5ADC9E #5D5ADC
square
#DC5A98 #D9DC5A #5ADC9E #5D5ADC
split-complementary
#DC5A98 #5ADC5D #5AD9DC
monochromatic
#9B215B #CD2C79 #DC5A98 #E78CB8 #F1BFD7

Accessibility & contrast

On white

3.52
#DC5A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#DC5A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5A98
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5A98#FFFFFF#000000##000000
##DC5A981.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A9A
Deuteranopia (green-blind)
#909195
Tritanopia (blue-blind)
#EB5272
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc5a98;
/* rgb */ color: rgb(220, 90, 152);
/* oklch */ color: oklch(65.1% 0.174 353.3);
Tailwind
colors: {
  custom: {
    50: '#eb8fb6',
    500: '#dc5a98',
    950: '#000000',
  },
}
SCSS
$custom: #dc5a98;
$custom-light: #eb8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5a98",
  "rgb": {
    "r": 220,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 331.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65109,
    "c": 0.17426,
    "h": 353.3
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#DC5A98
secondary
#B0E2CA
accent
#CD7719
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DC5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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