#DC98CC#DC98CC

#DC98CC is a light, moderate pink. Relative luminance 0.420; OKLCH L 76.2% C 0.105 H 335.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#DC98CC
RGBrgb(220, 152, 204)
HSLhsl(314, 49%, 73%)
HSVhsv(314, 31%, 86%)
CMYKcmyk(0%, 30.9%, 7.3%, 13.7%)
CIE-LABlab(70.89, 33.45, -16.40)
CIE-LCHlch(70.89, 37.26, 333.88°)
OKLaboklab(76.22% 0.0959 -0.0439)
OKLCHoklch(76.22% 0.105 335.4)
XYZxyz(51.6420, 42.0340, 62.5082)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98CC #98DCA8
analogous
#CA98DC #DC98CC #DC98AA
triadic
#DC98CC #CCDC98 #98CCDC
tetradic
#DC98CC #DCCA98 #98DCA8 #98AADC
square
#DC98CC #DCCA98 #98DCA8 #98AADC
split-complementary
#DC98CC #AADC98 #98DCCA
monochromatic
#BA3F9D #CC6AB5 #DC98CC #ECC6E3 #F7E8F4

Accessibility & contrast

On white

2.23
#DC98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#DC98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98CC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98CC#FFFFFF#000000##000000
##DC98CC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CE
Deuteranopia (green-blind)
#A9B1CA
Tritanopia (blue-blind)
#E39AAA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc98cc;
/* rgb */ color: rgb(220, 152, 204);
/* oklch */ color: oklch(76.2% 0.105 335.4);
Tailwind
colors: {
  custom: {
    50: '#e8b7db',
    500: '#dc98cc',
    950: '#000000',
  },
}
SCSS
$custom: #dc98cc;
$custom-light: #e8b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98cc",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 314.118,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76224,
    "c": 0.10543,
    "h": 335.4
  },
  "luminance": 0.42032
}

Semantic roles & 50–950 ramp

primary
#DC98CC
secondary
#DDEEE1
accent
#BD4C29
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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