#DC7798#DC7798

#DC7798 is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.1% C 0.130 H 0.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#DC7798
RGBrgb(220, 119, 152)
HSLhsl(340, 59%, 66%)
HSVhsv(340, 46%, 86%)
CMYKcmyk(0%, 45.9%, 30.9%, 13.7%)
CIE-LABlab(62.24, 42.95, -0.02)
CIE-LCHlch(62.24, 42.95, 359.97°)
OKLaboklab(69.13% 0.1302 0.0005)
OKLCHoklch(69.13% 0.13 0.2)
XYZxyz(41.7812, 30.6798, 33.4210)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7798 #77DCBB
analogous
#DC77CB #DC7798 #DC8977
triadic
#DC7798 #98DC77 #7798DC
tetradic
#DC7798 #CBDC77 #77DCBB #8977DC
square
#DC7798 #CBDC77 #77DCBB #8977DC
split-complementary
#DC7798 #77DC89 #77CBDC
monochromatic
#AC2C56 #CF4673 #DC7798 #E9A8BD #F5D8E2

Accessibility & contrast

On white

2.94
#DC7798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#DC7798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7798
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7798#FFFFFF#000000##000000
##DC77981.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#868B99
Deuteranopia (green-blind)
#A09D96
Tritanopia (blue-blind)
#EB7083
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc7798;
/* rgb */ color: rgb(220, 119, 152);
/* oklch */ color: oklch(69.1% 0.130 0.2);
Tailwind
colors: {
  custom: {
    50: '#e9a0b6',
    500: '#dc7798',
    950: '#000000',
  },
}
SCSS
$custom: #dc7798;
$custom-light: #e9a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7798",
  "rgb": {
    "r": 220,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 340.396,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.13019,
    "h": 0.2
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#DC7798
secondary
#C7E8DD
accent
#C7901F
background
#FEFAFB
surface
#FDF3F6
border
#D5CDD0
text
#160F11
muted
#847F80

Preview Lab

Preview with #DC7798

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

Preview Lab → · Contrast checker → · Palette generator →

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