#CC7FA2#CC7FA2

#CC7FA2 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.8% C 0.104 H 351.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC7FA2
RGBrgb(204, 127, 162)
HSLhsl(333, 43%, 65%)
HSVhsv(333, 38%, 80%)
CMYKcmyk(0%, 37.7%, 20.6%, 20%)
CIE-LABlab(62.19, 34.56, -6.04)
CIE-LCHlch(62.19, 35.08, 350.09°)
OKLaboklab(68.76% 0.1033 -0.0156)
OKLCHoklch(68.76% 0.104 351.4)
XYZxyz(39.0134, 30.6272, 38.0322)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA2 #7FCCA9
analogous
#CC7FC9 #CC7FA2 #CC827F
triadic
#CC7FA2 #A2CC7F #7FA2CC
tetradic
#CC7FA2 #C9CC7F #7FCCA9 #827FCC
square
#CC7FA2 #C9CC7F #7FCCA9 #827FCC
split-complementary
#CC7FA2 #7FCC82 #7FC9CC
monochromatic
#953B64 #BB5382 #CC7FA2 #DDABC2 #EFD7E2

Accessibility & contrast

On white

2.95
#CC7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FA2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FA2#FFFFFF#000000##000000
##CC7FA21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#9A9BA0
Tritanopia (blue-blind)
#D77D8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7fa2;
/* rgb */ color: rgb(204, 127, 162);
/* oklch */ color: oklch(68.8% 0.104 351.4);
Tailwind
colors: {
  custom: {
    50: '#dda5bd',
    500: '#cc7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa2;
$custom-light: #dda5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa2",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 332.727,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68759,
    "c": 0.10444,
    "h": 351.4
  },
  "luminance": 0.30625
}

Semantic roles & 50–950 ramp

primary
#CC7FA2
secondary
#C6E1D5
accent
#B6792F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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