#DC799E#DC799E

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

Color values

HEX#DC799E
RGBrgb(220, 121, 158)
HSLhsl(338, 59%, 67%)
HSVhsv(338, 45%, 86%)
CMYKcmyk(0%, 45%, 28.2%, 13.7%)
CIE-LABlab(62.81, 42.71, -2.61)
CIE-LCHlch(62.81, 42.79, 356.50°)
OKLaboklab(69.62% 0.1291 -0.0063)
OKLCHoklch(69.62% 0.129 357.2)
XYZxyz(42.5256, 31.3625, 36.1550)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC799E #79DCB7
analogous
#DC79D0 #DC799E #DC8679
triadic
#DC799E #9EDC79 #799EDC
tetradic
#DC799E #D0DC79 #79DCB7 #8679DC
square
#DC799E #D0DC79 #79DCB7 #8679DC
split-complementary
#DC799E #79DC86 #79D0DC
monochromatic
#AD2D5D #CF487B #DC799E #E9AAC1 #F5DAE4

Accessibility & contrast

On white

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

On black

7.27
#DC799E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC799E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC799E#FFFFFF#000000##000000
##DC799E1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#868D9F
Deuteranopia (green-blind)
#A09F9C
Tritanopia (blue-blind)
#EA7386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #dc799e;
/* rgb */ color: rgb(220, 121, 158);
/* oklch */ color: oklch(69.6% 0.129 357.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2ba',
    500: '#dc799e',
    950: '#000000',
  },
}
SCSS
$custom: #dc799e;
$custom-light: #e9a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dc799e",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 337.576,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.1293,
    "h": 357.2
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#DC799E
secondary
#C9E8DC
accent
#C6881F
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #DC799E

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

Preview Lab → · Contrast checker → · Palette generator →

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