#DC5197#DC5197

#DC5197 is a light, vivid pink. Relative luminance 0.233; OKLCH L 64.0% C 0.186 H 352.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DC5197
RGBrgb(220, 81, 151)
HSLhsl(330, 67%, 59%)
HSVhsv(330, 63%, 86%)
CMYKcmyk(0%, 63.2%, 31.4%, 13.7%)
CIE-LABlab(55.42, 60.65, -9.52)
CIE-LCHlch(55.42, 61.39, 351.08°)
OKLaboklab(64.02% 0.1848 -0.0245)
OKLCHoklch(64.02% 0.186 352.5)
XYZxyz(38.0454, 23.3389, 31.7734)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5197 #51DC96
analogous
#DB51DC #DC5197 #DC5152
triadic
#DC5197 #97DC51 #5197DC
tetradic
#DC5197 #DCDB51 #51DC96 #5152DC
square
#DC5197 #DCDB51 #51DC96 #5152DC
split-complementary
#DC5197 #52DC51 #51DCDB
monochromatic
#951E5A #C82878 #DC5197 #E684B5 #F0B7D4

Accessibility & contrast

On white

3.71
#DC5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC5197#FFFFFF#000000##000000
##DC51971.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#8C8E94
Tritanopia (blue-blind)
#EC496D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #dc5197;
/* rgb */ color: rgb(220, 81, 151);
/* oklch */ color: oklch(64.0% 0.186 352.5);
Tailwind
colors: {
  custom: {
    50: '#eb8ab5',
    500: '#dc5197',
    950: '#000000',
  },
}
SCSS
$custom: #dc5197;
$custom-light: #eb8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5197",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 329.784,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.18639,
    "h": 352.5
  },
  "luminance": 0.23335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC5197

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

Preview Lab → · Contrast checker → · Palette generator →

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