#DC7F8A#DC7F8A

#DC7F8A is a light, moderate red. Relative luminance 0.322; OKLCH L 70.0% C 0.115 H 12.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#DC7F8A
RGBrgb(220, 127, 138)
HSLhsl(353, 57%, 68%)
HSVhsv(353, 42%, 86%)
CMYKcmyk(0%, 42.3%, 37.3%, 13.7%)
CIE-LABlab(63.53, 37.09, 9.85)
CIE-LCHlch(63.53, 38.37, 14.87°)
OKLaboklab(69.99% 0.1124 0.0258)
OKLCHoklch(69.99% 0.115 12.9)
XYZxyz(41.6940, 32.2329, 28.0655)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7F8A #7FDCD1
analogous
#DC7FB8 #DC7F8A #DCA27F
triadic
#DC7F8A #8ADC7F #7F8ADC
tetradic
#DC7F8A #B8DC7F #7FDCD1 #A27FDC
square
#DC7F8A #B8DC7F #7FDCD1 #A27FDC
split-complementary
#DC7F8A #7FDCA2 #7FB8DC
monochromatic
#B0303F #CF4F5E #DC7F8A #E9AFB6 #F6DFE2

Accessibility & contrast

On white

2.82
#DC7F8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#DC7F8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7F8A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7F8A#FFFFFF#000000##000000
##DC7F8A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8A
Deuteranopia (green-blind)
#A7A188
Tritanopia (blue-blind)
#EC7583
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc7f8a;
/* rgb */ color: rgb(220, 127, 138);
/* oklch */ color: oklch(70.0% 0.115 12.9);
Tailwind
colors: {
  custom: {
    50: '#eaa5ac',
    500: '#dc7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #dc7f8a;
$custom-light: #eaa5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7f8a",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 352.903,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69993,
    "c": 0.11531,
    "h": 12.9
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#DC7F8A
secondary
#CDEAE6
accent
#C5B121
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #DC7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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