#DC7A98#DC7A98

#DC7A98 is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.6% C 0.126 H 1.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#DC7A98
RGBrgb(220, 122, 152)
HSLhsl(342, 58%, 67%)
HSVhsv(342, 45%, 86%)
CMYKcmyk(0%, 44.5%, 30.9%, 13.7%)
CIE-LABlab(62.85, 41.41, 0.87)
CIE-LCHlch(62.85, 41.42, 1.21°)
OKLaboklab(69.59% 0.1255 0.0028)
OKLCHoklch(69.59% 0.126 1.3)
XYZxyz(42.1438, 31.4052, 33.5419)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7A98 #7ADCBE
analogous
#DC7AC9 #DC7A98 #DC8D7A
triadic
#DC7A98 #98DC7A #7A98DC
tetradic
#DC7A98 #C9DC7A #7ADCBE #8D7ADC
square
#DC7A98 #C9DC7A #7ADCBE #8D7ADC
split-complementary
#DC7A98 #7ADC8D #7AC9DC
monochromatic
#AE2E55 #CF4A72 #DC7A98 #E9AABE #F6DBE3

Accessibility & contrast

On white

2.88
#DC7A98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#DC7A98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7A98
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7A98#FFFFFF#000000##000000
##DC7A981.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D99
Deuteranopia (green-blind)
#A19F96
Tritanopia (blue-blind)
#EB7385
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #dc7a98;
/* rgb */ color: rgb(220, 122, 152);
/* oklch */ color: oklch(69.6% 0.126 1.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2b6',
    500: '#dc7a98',
    950: '#000000',
  },
}
SCSS
$custom: #dc7a98;
$custom-light: #e9a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7a98",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 341.633,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.12553,
    "h": 1.3
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

primary
#DC7A98
secondary
#C9E8DF
accent
#C69320
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #DC7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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