#CC8A9E#CC8A9E

#CC8A9E is a light, moderate pink. Relative luminance 0.335; OKLCH L 70.5% C 0.084 H 359.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CC8A9E
RGBrgb(204, 138, 158)
HSLhsl(342, 39%, 67%)
HSVhsv(342, 32%, 80%)
CMYKcmyk(0%, 32.4%, 22.5%, 20%)
CIE-LABlab(64.55, 27.99, -0.29)
CIE-LCHlch(64.55, 28.00, 359.41°)
OKLaboklab(70.52% 0.0842 -0.0004)
OKLCHoklch(70.52% 0.084 359.7)
XYZxyz(40.1625, 33.4853, 36.6890)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8A9E #8ACCB8
analogous
#CC8ABF #CC8A9E #CC978A
triadic
#CC8A9E #9ECC8A #8A9ECC
tetradic
#CC8A9E #BFCC8A #8ACCB8 #978ACC
square
#CC8A9E #BFCC8A #8ACCB8 #978ACC
split-complementary
#CC8A9E #8ACC97 #8ABFCC
monochromatic
#99435D #B95F7B #CC8A9E #DFB5C1 #F1DFE5

Accessibility & contrast

On white

2.73
#CC8A9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CC8A9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8A9E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8A9E#FFFFFF#000000##000000
##CC8A9E1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92969F
Deuteranopia (green-blind)
#A2A19D
Tritanopia (blue-blind)
#D78691
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc8a9e;
/* rgb */ color: rgb(204, 138, 158);
/* oklch */ color: oklch(70.5% 0.084 359.7);
Tailwind
colors: {
  custom: {
    50: '#ddadba',
    500: '#cc8a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc8a9e;
$custom-light: #ddadba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8a9e",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 158
  },
  "hsl": {
    "h": 341.818,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.08423,
    "h": 359.7
  },
  "luminance": 0.33483
}

Semantic roles & 50–950 ramp

primary
#CC8A9E
secondary
#CEE3DD
accent
#B28C33
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CC8A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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