#DC7DA2#DC7DA2

#DC7DA2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.4% C 0.125 H 356.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#DC7DA2
RGBrgb(220, 125, 162)
HSLhsl(337, 58%, 68%)
HSVhsv(337, 43%, 86%)
CMYKcmyk(0%, 43.2%, 26.4%, 13.7%)
CIE-LABlab(63.75, 41.19, -3.51)
CIE-LCHlch(63.75, 41.34, 355.13°)
OKLaboklab(70.36% 0.1243 -0.0087)
OKLCHoklch(70.36% 0.125 356)
XYZxyz(43.3717, 32.4948, 38.1632)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DA2 #7DDCB7
analogous
#DC7DD1 #DC7DA2 #DC887D
triadic
#DC7DA2 #A2DC7D #7DA2DC
tetradic
#DC7DA2 #D1DC7D #7DDCB7 #887DDC
square
#DC7DA2 #D1DC7D #7DDCB7 #887DDC
split-complementary
#DC7DA2 #7DDC88 #7DD1DC
monochromatic
#AF2F61 #CF4D80 #DC7DA2 #E9ADC4 #F6DDE7

Accessibility & contrast

On white

2.80
#DC7DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#DC7DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DA2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DA2#FFFFFF#000000##000000
##DC7DA21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A3
Deuteranopia (green-blind)
#A1A1A0
Tritanopia (blue-blind)
#E9788A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc7da2;
/* rgb */ color: rgb(220, 125, 162);
/* oklch */ color: oklch(70.4% 0.125 356.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4bd',
    500: '#dc7da2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7da2;
$custom-light: #e9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7da2",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 336.632,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70365,
    "c": 0.12459,
    "h": 356
  },
  "luminance": 0.32492
}

Semantic roles & 50–950 ramp

primary
#DC7DA2
secondary
#CCE9DE
accent
#C58520
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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