#DC5281#DC5281

#DC5281 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.4% C 0.177 H 2.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DC5281
RGBrgb(220, 82, 129)
HSLhsl(340, 66%, 59%)
HSVhsv(340, 63%, 86%)
CMYKcmyk(0%, 62.7%, 41.4%, 13.7%)
CIE-LABlab(54.91, 57.79, 2.71)
CIE-LCHlch(54.91, 57.85, 2.68°)
OKLaboklab(63.42% 0.1765 0.0077)
OKLCHoklch(63.42% 0.177 2.5)
XYZxyz(36.4974, 22.8395, 23.2511)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5281 #52DCAD
analogous
#DC52C6 #DC5281 #DC6852
triadic
#DC5281 #81DC52 #5281DC
tetradic
#DC5281 #C6DC52 #52DCAD #6852DC
square
#DC5281 #C6DC52 #52DCAD #6852DC
split-complementary
#DC5281 #52DC68 #52C6DC
monochromatic
#951E47 #C8295F #DC5281 #E685A6 #F1B8CB

Accessibility & contrast

On white

3.77
#DC5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DC5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5281
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5281#FFFFFF#000000##000000
##DC52811.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7382
Deuteranopia (green-blind)
#928D7E
Tritanopia (blue-blind)
#EE4264
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc5281;
/* rgb */ color: rgb(220, 82, 129);
/* oklch */ color: oklch(63.4% 0.177 2.5);
Tailwind
colors: {
  custom: {
    50: '#ec8aa5',
    500: '#dc5281',
    950: '#000000',
  },
}
SCSS
$custom: #dc5281;
$custom-light: #ec8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5281",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 339.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63417,
    "c": 0.17666,
    "h": 2.5
  },
  "luminance": 0.22835
}

Semantic roles & 50–950 ramp

primary
#DC5281
secondary
#AAE0CE
accent
#E9AF3F
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DC5281

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

Preview Lab → · Contrast checker → · Palette generator →

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