#CC98BE#CC98BE

#CC98BE is a light, moderate pink. Relative luminance 0.390; OKLCH L 74.1% C 0.080 H 336.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CC98BE
RGBrgb(204, 152, 190)
HSLhsl(316, 34%, 70%)
HSVhsv(316, 25%, 80%)
CMYKcmyk(0%, 25.5%, 6.9%, 20%)
CIE-LABlab(68.76, 25.57, -12.02)
CIE-LCHlch(68.76, 28.25, 334.83°)
OKLaboklab(74.06% 0.0733 -0.032)
OKLCHoklch(74.06% 0.08 336.4)
XYZxyz(45.4238, 39.0132, 53.8428)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98BE #98CCA6
analogous
#C098CC #CC98BE #CC98A4
triadic
#CC98BE #BECC98 #98BECC
tetradic
#CC98BE #CCC098 #98CCA6 #98A4CC
square
#CC98BE #CCC098 #98CCA6 #98A4CC
split-complementary
#CC98BE #A4CC98 #98CCC0
monochromatic
#9C4D87 #B86FA4 #CC98BE #E0C1D8 #F5EAF2

Accessibility & contrast

On white

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

On black

8.80
#CC98BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC98BE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC98BE#FFFFFF#000000##000000
##CC98BE1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3C0
Deuteranopia (green-blind)
#A5ABBC
Tritanopia (blue-blind)
#D29AA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc98be;
/* rgb */ color: rgb(204, 152, 190);
/* oklch */ color: oklch(74.1% 0.080 336.4);
Tailwind
colors: {
  custom: {
    50: '#dcb6d1',
    500: '#cc98be',
    950: '#000000',
  },
}
SCSS
$custom: #cc98be;
$custom-light: #dcb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98be",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 190
  },
  "hsl": {
    "h": 316.154,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.07992,
    "h": 336.4
  },
  "luminance": 0.39012
}

Semantic roles & 50–950 ramp

primary
#CC98BE
secondary
#D9E7DD
accent
#AD5839
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CC98BE

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

Preview Lab → · Contrast checker → · Palette generator →

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