#DC98CE#DC98CE

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

Color values

HEX#DC98CE
RGBrgb(220, 152, 206)
HSLhsl(312, 49%, 73%)
HSVhsv(312, 31%, 86%)
CMYKcmyk(0%, 30.9%, 6.4%, 13.7%)
CIE-LABlab(70.96, 33.80, -17.41)
CIE-LCHlch(70.96, 38.02, 332.75°)
OKLaboklab(76.3% 0.0965 -0.0466)
OKLCHoklch(76.3% 0.107 334.2)
XYZxyz(51.8834, 42.1305, 63.7796)
Luminance0.4213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98CE #98DCA6
analogous
#C898DC #DC98CE #DC98AC
triadic
#DC98CE #CEDC98 #98CEDC
tetradic
#DC98CE #DCC898 #98DCA6 #98ACDC
square
#DC98CE #DCC898 #98DCA6 #98ACDC
split-complementary
#DC98CE #ACDC98 #98DCC8
monochromatic
#BA3FA1 #CC6AB8 #DC98CE #ECC6E4 #F7E8F4

Accessibility & contrast

On white

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

On black

9.43
#DC98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98CE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98CE#FFFFFF#000000##000000
##DC98CE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8D0
Deuteranopia (green-blind)
#A8B1CC
Tritanopia (blue-blind)
#E29BAB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc98ce;
/* rgb */ color: rgb(220, 152, 206);
/* oklch */ color: oklch(76.3% 0.107 334.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7dd',
    500: '#dc98ce',
    950: '#000000',
  },
}
SCSS
$custom: #dc98ce;
$custom-light: #e8b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98ce",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 312.353,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76297,
    "c": 0.10715,
    "h": 334.2
  },
  "luminance": 0.42128
}

Semantic roles & 50–950 ramp

primary
#DC98CE
secondary
#DDEEE0
accent
#BD4729
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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