#DC7FA6#DC7FA6

#DC7FA6 is a light, vivid pink. Relative luminance 0.331; OKLCH L 70.8% C 0.123 H 354.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#DC7FA6
RGBrgb(220, 127, 166)
HSLhsl(335, 57%, 68%)
HSVhsv(335, 42%, 86%)
CMYKcmyk(0%, 42.3%, 24.5%, 13.7%)
CIE-LABlab(64.28, 40.71, -5.00)
CIE-LCHlch(64.28, 41.02, 353.00°)
OKLaboklab(70.81% 0.1225 -0.0127)
OKLCHoklch(70.81% 0.123 354.1)
XYZxyz(43.9887, 33.1508, 40.1509)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FA6 #7FDCB5
analogous
#DC7FD4 #DC7FA6 #DC867F
triadic
#DC7FA6 #A6DC7F #7FA6DC
tetradic
#DC7FA6 #D4DC7F #7FDCB5 #867FDC
square
#DC7FA6 #D4DC7F #7FDCB5 #867FDC
split-complementary
#DC7FA6 #7FDC86 #7FD4DC
monochromatic
#B03066 #CF4F85 #DC7FA6 #E9AFC7 #F6DFE9

Accessibility & contrast

On white

2.75
#DC7FA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#DC7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FA6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FA6#FFFFFF#000000##000000
##DC7FA61.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A7
Deuteranopia (green-blind)
#A1A2A4
Tritanopia (blue-blind)
#E97B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc7fa6;
/* rgb */ color: rgb(220, 127, 166);
/* oklch */ color: oklch(70.8% 0.123 354.1);
Tailwind
colors: {
  custom: {
    50: '#e9a6c0',
    500: '#dc7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fa6;
$custom-light: #e9a6c0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fa6",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 334.839,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70807,
    "c": 0.12317,
    "h": 354.1
  },
  "luminance": 0.33148
}

Semantic roles & 50–950 ramp

primary
#DC7FA6
secondary
#CDEADE
accent
#C58021
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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