#CC98BC#CC98BC

#CC98BC is a light, moderate pink. Relative luminance 0.389; OKLCH L 74.0% C 0.078 H 338.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CC98BC
RGBrgb(204, 152, 188)
HSLhsl(318, 34%, 70%)
HSVhsv(318, 25%, 80%)
CMYKcmyk(0%, 25.5%, 7.8%, 20%)
CIE-LABlab(68.70, 25.22, -11.00)
CIE-LCHlch(68.70, 27.51, 336.44°)
OKLaboklab(74% 0.0726 -0.0292)
OKLCHoklch(74% 0.078 338.1)
XYZxyz(45.2067, 38.9263, 52.6994)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98BC #98CCA8
analogous
#C298CC #CC98BC #CC98A2
triadic
#CC98BC #BCCC98 #98BCCC
tetradic
#CC98BC #CCC298 #98CCA8 #98A2CC
square
#CC98BC #CCC298 #98CCA8 #98A2CC
split-complementary
#CC98BC #A2CC98 #98CCC2
monochromatic
#9C4D84 #B86FA1 #CC98BC #E0C1D7 #F5EAF1

Accessibility & contrast

On white

2.39
#CC98BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CC98BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC98BC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC98BC#FFFFFF#000000##000000
##CC98BC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3BD
Deuteranopia (green-blind)
#A5AABA
Tritanopia (blue-blind)
#D299A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc98bc;
/* rgb */ color: rgb(204, 152, 188);
/* oklch */ color: oklch(74.0% 0.078 338.1);
Tailwind
colors: {
  custom: {
    50: '#dcb6d0',
    500: '#cc98bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc98bc;
$custom-light: #dcb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98bc",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 318.462,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.07824,
    "h": 338.1
  },
  "luminance": 0.38925
}

Semantic roles & 50–950 ramp

primary
#CC98BC
secondary
#D9E7DD
accent
#AD5D39
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CC98BC

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

Preview Lab → · Contrast checker → · Palette generator →

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