#DC98CF#DC98CF

#DC98CF is a light, moderate pink. Relative luminance 0.422; OKLCH L 76.3% C 0.108 H 333.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#DC98CF
RGBrgb(220, 152, 207)
HSLhsl(311, 49%, 73%)
HSVhsv(311, 31%, 86%)
CMYKcmyk(0%, 30.9%, 5.9%, 13.7%)
CIE-LABlab(70.99, 33.98, -17.91)
CIE-LCHlch(70.99, 38.41, 332.20°)
OKLaboklab(76.33% 0.0968 -0.048)
OKLCHoklch(76.33% 0.108 333.6)
XYZxyz(52.0053, 42.1793, 64.4214)
Luminance0.4218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98CF #98DCA5
analogous
#C798DC #DC98CF #DC98AD
triadic
#DC98CF #CFDC98 #98CFDC
tetradic
#DC98CF #DCC798 #98DCA5 #98ADDC
square
#DC98CF #DCC798 #98DCA5 #98ADDC
split-complementary
#DC98CF #ADDC98 #98DCC7
monochromatic
#BA3FA3 #CC6ABA #DC98CF #ECC6E4 #F7E8F4

Accessibility & contrast

On white

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

On black

9.44
#DC98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98CF
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98CF#FFFFFF#000000##000000
##DC98CF1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A8D1
Deuteranopia (green-blind)
#A8B1CD
Tritanopia (blue-blind)
#E29BAC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc98cf;
/* rgb */ color: rgb(220, 152, 207);
/* oklch */ color: oklch(76.3% 0.108 333.6);
Tailwind
colors: {
  custom: {
    50: '#e8b7dd',
    500: '#dc98cf',
    950: '#000000',
  },
}
SCSS
$custom: #dc98cf;
$custom-light: #e8b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98cf",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 311.471,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76334,
    "c": 0.10803,
    "h": 333.6
  },
  "luminance": 0.42177
}

Semantic roles & 50–950 ramp

primary
#DC98CF
secondary
#DDEEE0
accent
#BD4529
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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