#CC7ABB#CC7ABB

#CC7ABB is a light, vivid pink. Relative luminance 0.303; OKLCH L 68.9% C 0.131 H 334.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC7ABB
RGBrgb(204, 122, 187)
HSLhsl(312, 45%, 64%)
HSVhsv(312, 40%, 80%)
CMYKcmyk(0%, 40.2%, 8.3%, 20%)
CIE-LABlab(61.95, 41.27, -20.63)
CIE-LCHlch(61.95, 46.14, 333.44°)
OKLaboklab(68.85% 0.1187 -0.0555)
OKLCHoklch(68.85% 0.131 334.9)
XYZxyz(40.8308, 30.3465, 50.7109)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ABB #7ACC8B
analogous
#B47ACC #CC7ABB #CC7A92
triadic
#CC7ABB #BBCC7A #7ABBCC
tetradic
#CC7ABB #CCB47A #7ACC8B #7A92CC
square
#CC7ABB #CCB47A #7ACC8B #7A92CC
split-complementary
#CC7ABB #92CC7A #7ACCB4
monochromatic
#933880 #BB4EA4 #CC7ABB #DDA6D2 #EED2E8

Accessibility & contrast

On white

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

On black

7.07
#CC7ABB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ABB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ABB#FFFFFF#000000##000000
##CC7ABB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#8F9AB9
Tritanopia (blue-blind)
#D37E92
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7abb;
/* rgb */ color: rgb(204, 122, 187);
/* oklch */ color: oklch(68.9% 0.131 334.9);
Tailwind
colors: {
  custom: {
    50: '#dda2cf',
    500: '#cc7abb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7abb;
$custom-light: #dda2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7abb",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 312.439,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68853,
    "c": 0.13103,
    "h": 334.9
  },
  "luminance": 0.30344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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