#DC799D#DC799D

#DC799D is a light, vivid pink. Relative luminance 0.313; OKLCH L 69.6% C 0.129 H 357.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#DC799D
RGBrgb(220, 121, 157)
HSLhsl(338, 59%, 67%)
HSVhsv(338, 45%, 86%)
CMYKcmyk(0%, 45%, 28.6%, 13.7%)
CIE-LABlab(62.78, 42.58, -2.08)
CIE-LCHlch(62.78, 42.63, 357.20°)
OKLaboklab(69.59% 0.1288 -0.0049)
OKLCHoklch(69.59% 0.129 357.8)
XYZxyz(42.4398, 31.3282, 35.7035)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC799D #79DCB8
analogous
#DC79CF #DC799D #DC8779
triadic
#DC799D #9DDC79 #799DDC
tetradic
#DC799D #CFDC79 #79DCB8 #8779DC
square
#DC799D #CFDC79 #79DCB8 #8779DC
split-complementary
#DC799D #79DC87 #79CFDC
monochromatic
#AD2D5C #CF487A #DC799D #E9AAC0 #F5DAE4

Accessibility & contrast

On white

2.89
#DC799D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#DC799D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC799D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC799D#FFFFFF#000000##000000
##DC799D1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#878D9E
Deuteranopia (green-blind)
#A09F9B
Tritanopia (blue-blind)
#EA7386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #dc799d;
/* rgb */ color: rgb(220, 121, 157);
/* oklch */ color: oklch(69.6% 0.129 357.8);
Tailwind
colors: {
  custom: {
    50: '#e9a2b9',
    500: '#dc799d',
    950: '#000000',
  },
}
SCSS
$custom: #dc799d;
$custom-light: #e9a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc799d",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 338.182,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69586,
    "c": 0.1289,
    "h": 357.8
  },
  "luminance": 0.31325
}

Semantic roles & 50–950 ramp

primary
#DC799D
secondary
#C9E8DD
accent
#C68A1F
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #DC799D

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

Preview Lab → · Contrast checker → · Palette generator →

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