#DC98CA#DC98CA

#DC98CA is a light, moderate pink. Relative luminance 0.419; OKLCH L 76.2% C 0.104 H 336.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#DC98CA
RGBrgb(220, 152, 202)
HSLhsl(316, 49%, 73%)
HSVhsv(316, 31%, 86%)
CMYKcmyk(0%, 30.9%, 8.2%, 13.7%)
CIE-LABlab(70.83, 33.11, -15.40)
CIE-LCHlch(70.83, 36.51, 335.06°)
OKLaboklab(76.15% 0.0953 -0.0411)
OKLCHoklch(76.15% 0.104 336.7)
XYZxyz(51.4037, 41.9386, 61.2530)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98CA #98DCAA
analogous
#CC98DC #DC98CA #DC98A8
triadic
#DC98CA #CADC98 #98CADC
tetradic
#DC98CA #DCCC98 #98DCAA #98A8DC
square
#DC98CA #DCCC98 #98DCAA #98A8DC
split-complementary
#DC98CA #A8DC98 #98DCCC
monochromatic
#BA3F9A #CC6AB2 #DC98CA #ECC6E2 #F7E8F3

Accessibility & contrast

On white

2.24
#DC98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#DC98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98CA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98CA#FFFFFF#000000##000000
##DC98CA1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A7CC
Deuteranopia (green-blind)
#A9B1C8
Tritanopia (blue-blind)
#E39AAA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc98ca;
/* rgb */ color: rgb(220, 152, 202);
/* oklch */ color: oklch(76.2% 0.104 336.7);
Tailwind
colors: {
  custom: {
    50: '#e8b7da',
    500: '#dc98ca',
    950: '#000000',
  },
}
SCSS
$custom: #dc98ca;
$custom-light: #e8b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98ca",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 315.882,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.10374,
    "h": 336.7
  },
  "luminance": 0.41936
}

Semantic roles & 50–950 ramp

primary
#DC98CA
secondary
#DDEEE1
accent
#BD5029
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #DC98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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