#DC5181#DC5181

#DC5181 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.178 H 2.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#DC5181
RGBrgb(220, 81, 129)
HSLhsl(339, 67%, 59%)
HSVhsv(339, 63%, 86%)
CMYKcmyk(0%, 63.2%, 41.4%, 13.7%)
CIE-LABlab(54.75, 58.21, 2.48)
CIE-LCHlch(54.75, 58.26, 2.44°)
OKLaboklab(63.3% 0.1778 0.0071)
OKLCHoklch(63.3% 0.178 2.3)
XYZxyz(36.4225, 22.6898, 23.2261)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5181 #51DCAC
analogous
#DC51C6 #DC5181 #DC6751
triadic
#DC5181 #81DC51 #5181DC
tetradic
#DC5181 #C6DC51 #51DCAC #6751DC
square
#DC5181 #C6DC51 #51DCAC #6751DC
split-complementary
#DC5181 #51DC67 #51C6DC
monochromatic
#951E47 #C8285F #DC5181 #E684A6 #F0B7CB

Accessibility & contrast

On white

3.79
#DC5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#DC5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5181
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5181#FFFFFF#000000##000000
##DC51811.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7282
Deuteranopia (green-blind)
#918D7E
Tritanopia (blue-blind)
#EE4164
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc5181;
/* rgb */ color: rgb(220, 81, 129);
/* oklch */ color: oklch(63.3% 0.178 2.3);
Tailwind
colors: {
  custom: {
    50: '#ec89a5',
    500: '#dc5181',
    950: '#000000',
  },
}
SCSS
$custom: #dc5181;
$custom-light: #ec89a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5181",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 339.281,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.17796,
    "h": 2.3
  },
  "luminance": 0.22685
}

Semantic roles & 50–950 ramp

primary
#DC5181
secondary
#A9E0CD
accent
#E9AE3E
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DC5181

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

Preview Lab → · Contrast checker → · Palette generator →

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