#DC98CD#DC98CD

#DC98CD is a light, moderate pink. Relative luminance 0.421; OKLCH L 76.3% C 0.106 H 334.8°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#DC98CD
RGBrgb(220, 152, 205)
HSLhsl(313, 49%, 73%)
HSVhsv(313, 31%, 86%)
CMYKcmyk(0%, 30.9%, 6.8%, 13.7%)
CIE-LABlab(70.93, 33.63, -16.91)
CIE-LCHlch(70.93, 37.64, 333.31°)
OKLaboklab(76.26% 0.0962 -0.0452)
OKLCHoklch(76.26% 0.106 334.8)
XYZxyz(51.7624, 42.0821, 63.1419)
Luminance0.4208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98CD #98DCA7
analogous
#C998DC #DC98CD #DC98AB
triadic
#DC98CD #CDDC98 #98CDDC
tetradic
#DC98CD #DCC998 #98DCA7 #98ABDC
square
#DC98CD #DCC998 #98DCA7 #98ABDC
split-complementary
#DC98CD #ABDC98 #98DCC9
monochromatic
#BA3F9F #CC6AB7 #DC98CD #ECC6E3 #F7E8F4

Accessibility & contrast

On white

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

On black

9.42
#DC98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98CD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98CD#FFFFFF#000000##000000
##DC98CD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8CF
Deuteranopia (green-blind)
#A8B1CB
Tritanopia (blue-blind)
#E39BAB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc98cd;
/* rgb */ color: rgb(220, 152, 205);
/* oklch */ color: oklch(76.3% 0.106 334.8);
Tailwind
colors: {
  custom: {
    50: '#e8b7dc',
    500: '#dc98cd',
    950: '#000000',
  },
}
SCSS
$custom: #dc98cd;
$custom-light: #e8b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98cd",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 313.235,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76261,
    "c": 0.10628,
    "h": 334.8
  },
  "luminance": 0.4208
}

Semantic roles & 50–950 ramp

primary
#DC98CD
secondary
#DDEEE1
accent
#BD4929
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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