#CC98BD#CC98BD

#CC98BD is a light, moderate pink. Relative luminance 0.390; OKLCH L 74.0% C 0.079 H 337.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CC98BD
RGBrgb(204, 152, 189)
HSLhsl(317, 34%, 70%)
HSVhsv(317, 25%, 80%)
CMYKcmyk(0%, 25.5%, 7.4%, 20%)
CIE-LABlab(68.73, 25.39, -11.51)
CIE-LCHlch(68.73, 27.88, 335.62°)
OKLaboklab(74.03% 0.0729 -0.0306)
OKLCHoklch(74.03% 0.079 337.2)
XYZxyz(45.3149, 38.9696, 53.2691)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98BD #98CCA7
analogous
#C198CC #CC98BD #CC98A3
triadic
#CC98BD #BDCC98 #98BDCC
tetradic
#CC98BD #CCC198 #98CCA7 #98A3CC
square
#CC98BD #CCC198 #98CCA7 #98A3CC
split-complementary
#CC98BD #A3CC98 #98CCC1
monochromatic
#9C4D85 #B86FA3 #CC98BD #E0C1D7 #F5EAF1

Accessibility & contrast

On white

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

On black

8.79
#CC98BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC98BD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC98BD#FFFFFF#000000##000000
##CC98BD1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3BE
Deuteranopia (green-blind)
#A5AABB
Tritanopia (blue-blind)
#D299A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc98bd;
/* rgb */ color: rgb(204, 152, 189);
/* oklch */ color: oklch(74.0% 0.079 337.2);
Tailwind
colors: {
  custom: {
    50: '#dcb6d0',
    500: '#cc98bd',
    950: '#000000',
  },
}
SCSS
$custom: #cc98bd;
$custom-light: #dcb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98bd",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 317.308,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.07907,
    "h": 337.2
  },
  "luminance": 0.38968
}

Semantic roles & 50–950 ramp

primary
#CC98BD
secondary
#D9E7DD
accent
#AD5A39
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CC98BD

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

Preview Lab → · Contrast checker → · Palette generator →

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