#DC5198#DC5198

#DC5198 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.1% C 0.187 H 352.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DC5198
RGBrgb(220, 81, 152)
HSLhsl(329, 67%, 59%)
HSVhsv(329, 63%, 86%)
CMYKcmyk(0%, 63.2%, 30.9%, 13.7%)
CIE-LABlab(55.45, 60.77, -10.06)
CIE-LCHlch(55.45, 61.59, 350.60°)
OKLaboklab(64.05% 0.1851 -0.0259)
OKLCHoklch(64.05% 0.187 352)
XYZxyz(38.1270, 23.3715, 32.2029)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5198 #51DC95
analogous
#DB51DC #DC5198 #DC5153
triadic
#DC5198 #98DC51 #5198DC
tetradic
#DC5198 #DCDB51 #51DC95 #5153DC
square
#DC5198 #DCDB51 #51DC95 #5153DC
split-complementary
#DC5198 #53DC51 #51DCDB
monochromatic
#951E5B #C8287A #DC5198 #E684B6 #F0B7D4

Accessibility & contrast

On white

3.70
#DC5198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#DC5198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5198
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5198#FFFFFF#000000##000000
##DC51981.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759A
Deuteranopia (green-blind)
#8C8E95
Tritanopia (blue-blind)
#EC496E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #dc5198;
/* rgb */ color: rgb(220, 81, 152);
/* oklch */ color: oklch(64.1% 0.187 352.0);
Tailwind
colors: {
  custom: {
    50: '#eb8ab6',
    500: '#dc5198',
    950: '#000000',
  },
}
SCSS
$custom: #dc5198;
$custom-light: #eb8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5198",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 329.353,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.18688,
    "h": 352
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#DC5198
secondary
#A9E0C4
accent
#E9923E
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C11
muted
#857D80

Preview Lab

Preview with #DC5198

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

Preview Lab → · Contrast checker → · Palette generator →

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