#CC7ABC#CC7ABC

#CC7ABC is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.132 H 334.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CC7ABC
RGBrgb(204, 122, 188)
HSLhsl(312, 45%, 64%)
HSVhsv(312, 40%, 80%)
CMYKcmyk(0%, 40.2%, 7.8%, 20%)
CIE-LABlab(61.99, 41.44, -21.14)
CIE-LCHlch(61.99, 46.52, 332.98°)
OKLaboklab(68.89% 0.119 -0.0569)
OKLCHoklch(68.89% 0.132 334.4)
XYZxyz(40.9383, 30.3895, 51.2766)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ABC #7ACC8A
analogous
#B37ACC #CC7ABC #CC7A93
triadic
#CC7ABC #BCCC7A #7ABCCC
tetradic
#CC7ABC #CCB37A #7ACC8A #7A93CC
square
#CC7ABC #CCB37A #7ACC8A #7A93CC
split-complementary
#CC7ABC #93CC7A #7ACCB3
monochromatic
#933881 #BB4EA6 #CC7ABC #DDA6D2 #EED2E9

Accessibility & contrast

On white

2.97
#CC7ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CC7ABC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ABC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ABC#FFFFFF#000000##000000
##CC7ABC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBE
Deuteranopia (green-blind)
#8F9ABA
Tritanopia (blue-blind)
#D37E93
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7abc;
/* rgb */ color: rgb(204, 122, 188);
/* oklch */ color: oklch(68.9% 0.132 334.4);
Tailwind
colors: {
  custom: {
    50: '#dda2d0',
    500: '#cc7abc',
    950: '#000000',
  },
}
SCSS
$custom: #cc7abc;
$custom-light: #dda2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7abc",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 311.707,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.13188,
    "h": 334.4
  },
  "luminance": 0.30387
}

Semantic roles & 50–950 ramp

primary
#CC7ABC
secondary
#C3DFC8
accent
#B8492E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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