#DC7EC2#DC7EC2

#DC7EC2 is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.6% C 0.143 H 338.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#DC7EC2
RGBrgb(220, 126, 194)
HSLhsl(317, 57%, 68%)
HSVhsv(317, 43%, 86%)
CMYKcmyk(0%, 42.7%, 11.8%, 13.7%)
CIE-LABlab(64.99, 45.49, -19.77)
CIE-LCHlch(64.99, 49.60, 336.50°)
OKLaboklab(71.64% 0.1325 -0.053)
OKLCHoklch(71.64% 0.143 338.2)
XYZxyz(46.7138, 34.0353, 55.1375)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EC2 #7EDC98
analogous
#C77EDC #DC7EC2 #DC7E93
triadic
#DC7EC2 #C2DC7E #7EC2DC
tetradic
#DC7EC2 #DCC77E #7EDC98 #7E93DC
square
#DC7EC2 #DCC77E #7EDC98 #7E93DC
split-complementary
#DC7EC2 #93DC7E #7EDCC7
monochromatic
#B0308C #CF4EAB #DC7EC2 #E9AED9 #F6DEF0

Accessibility & contrast

On white

2.69
#DC7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#DC7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EC2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EC2#FFFFFF#000000##000000
##DC7EC21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#99A3BF
Tritanopia (blue-blind)
#E58197
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7ec2;
/* rgb */ color: rgb(220, 126, 194);
/* oklch */ color: oklch(71.6% 0.143 338.2);
Tailwind
colors: {
  custom: {
    50: '#e8a5d4',
    500: '#dc7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ec2;
$custom-light: #e8a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ec2",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 316.596,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71642,
    "c": 0.14271,
    "h": 338.2
  },
  "luminance": 0.34032
}

Semantic roles & 50–950 ramp

primary
#DC7EC2
secondary
#CCE9D4
accent
#C54E21
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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