#DC7AAA#DC7AAA

#DC7AAA is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.2% C 0.133 H 350.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#DC7AAA
RGBrgb(220, 122, 170)
HSLhsl(331, 58%, 67%)
HSVhsv(331, 45%, 86%)
CMYKcmyk(0%, 44.5%, 22.7%, 13.7%)
CIE-LABlab(63.38, 43.86, -8.62)
CIE-LCHlch(63.38, 44.70, 348.88°)
OKLaboklab(70.16% 0.1316 -0.0224)
OKLCHoklch(70.16% 0.133 350.4)
XYZxyz(43.7315, 32.0403, 41.9035)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AAA #7ADCAC
analogous
#DC7ADB #DC7AAA #DC7B7A
triadic
#DC7AAA #AADC7A #7AAADC
tetradic
#DC7AAA #DBDC7A #7ADCAC #7B7ADC
square
#DC7AAA #DBDC7A #7ADCAC #7B7ADC
split-complementary
#DC7AAA #7ADC7B #7ADBDC
monochromatic
#AE2E6C #CF4A8B #DC7AAA #E9AAC9 #F6DBE8

Accessibility & contrast

On white

2.84
#DC7AAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#DC7AAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AAA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AAA#FFFFFF#000000##000000
##DC7AAA1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAC
Deuteranopia (green-blind)
#9DA0A8
Tritanopia (blue-blind)
#E9778B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #dc7aaa;
/* rgb */ color: rgb(220, 122, 170);
/* oklch */ color: oklch(70.2% 0.133 350.4);
Tailwind
colors: {
  custom: {
    50: '#e9a3c3',
    500: '#dc7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7aaa;
$custom-light: #e9a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7aaa",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 330.612,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.13346,
    "h": 350.4
  },
  "luminance": 0.32037
}

Semantic roles & 50–950 ramp

primary
#DC7AAA
secondary
#C9E8D9
accent
#C67420
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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