#CC7FA1#CC7FA1

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

Color values

HEX#CC7FA1
RGBrgb(204, 127, 161)
HSLhsl(334, 43%, 65%)
HSVhsv(334, 38%, 80%)
CMYKcmyk(0%, 37.7%, 21.1%, 20%)
CIE-LABlab(62.16, 34.40, -5.51)
CIE-LCHlch(62.16, 34.84, 350.90°)
OKLaboklab(68.73% 0.1029 -0.0142)
OKLCHoklch(68.73% 0.104 352.2)
XYZxyz(38.9249, 30.5918, 37.5659)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FA1 #7FCCAA
analogous
#CC7FC8 #CC7FA1 #CC837F
triadic
#CC7FA1 #A1CC7F #7FA1CC
tetradic
#CC7FA1 #C8CC7F #7FCCAA #837FCC
square
#CC7FA1 #C8CC7F #7FCCAA #837FCC
split-complementary
#CC7FA1 #7FCC83 #7FC8CC
monochromatic
#953B63 #BB5381 #CC7FA1 #DDABC1 #EFD7E1

Accessibility & contrast

On white

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

On black

7.12
#CC7FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FA1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FA1#FFFFFF#000000##000000
##CC7FA11.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA2
Deuteranopia (green-blind)
#9A9B9F
Tritanopia (blue-blind)
#D77C8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7fa1;
/* rgb */ color: rgb(204, 127, 161);
/* oklch */ color: oklch(68.7% 0.104 352.2);
Tailwind
colors: {
  custom: {
    50: '#dda5bc',
    500: '#cc7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fa1;
$custom-light: #dda5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fa1",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 333.506,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.1039,
    "h": 352.2
  },
  "luminance": 0.30589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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