#DC7FCA#DC7FCA

#DC7FCA is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.1% C 0.147 H 334.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCA
RGBrgb(220, 127, 202)
HSLhsl(312, 57%, 68%)
HSVhsv(312, 42%, 86%)
CMYKcmyk(0%, 42.3%, 8.2%, 13.7%)
CIE-LABlab(65.48, 46.30, -23.52)
CIE-LCHlch(65.48, 51.93, 333.07°)
OKLaboklab(72.11% 0.1331 -0.0634)
OKLCHoklch(72.11% 0.147 334.5)
XYZxyz(47.7651, 34.6614, 60.0401)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCA #7FDC91
analogous
#BF7FDC #DC7FCA #DC7F9B
triadic
#DC7FCA #CADC7F #7FCADC
tetradic
#DC7FCA #DCBF7F #7FDC91 #7F9BDC
square
#DC7FCA #DCBF7F #7FDC91 #7F9BDC
split-complementary
#DC7FCA #9BDC7F #7FDCBF
monochromatic
#B03098 #CF4FB6 #DC7FCA #E9AFDE #F6DFF2

Accessibility & contrast

On white

2.65
#DC7FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#DC7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCA#FFFFFF#000000##000000
##DC7FCA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CD
Deuteranopia (green-blind)
#97A4C7
Tritanopia (blue-blind)
#E4839B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fca;
/* rgb */ color: rgb(220, 127, 202);
/* oklch */ color: oklch(72.1% 0.147 334.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6da',
    500: '#dc7fca',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fca;
$custom-light: #e8a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fca",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 311.613,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.14744,
    "h": 334.5
  },
  "luminance": 0.34659
}

Semantic roles & 50–950 ramp

primary
#DC7FCA
secondary
#CDEAD3
accent
#C54121
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DC7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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