#CC7EA1#CC7EA1

#CC7EA1 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.6% C 0.106 H 351.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC7EA1
RGBrgb(204, 126, 161)
HSLhsl(333, 43%, 65%)
HSVhsv(333, 38%, 80%)
CMYKcmyk(0%, 38.2%, 21.1%, 20%)
CIE-LABlab(61.94, 34.94, -5.84)
CIE-LCHlch(61.94, 35.43, 350.52°)
OKLaboklab(68.56% 0.1045 -0.015)
OKLCHoklch(68.56% 0.106 351.8)
XYZxyz(38.7964, 30.3348, 37.5231)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EA1 #7ECCA9
analogous
#CC7EC8 #CC7EA1 #CC827E
triadic
#CC7EA1 #A1CC7E #7EA1CC
tetradic
#CC7EA1 #C8CC7E #7ECCA9 #827ECC
square
#CC7EA1 #C8CC7E #7ECCA9 #827ECC
split-complementary
#CC7EA1 #7ECC82 #7EC8CC
monochromatic
#953B63 #BB5281 #CC7EA1 #DDAAC1 #EFD6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7EA1#FFFFFF#000000##000000
##CC7EA11.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)
#868EA2
Deuteranopia (green-blind)
#999B9F
Tritanopia (blue-blind)
#D77B8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7ea1;
/* rgb */ color: rgb(204, 126, 161);
/* oklch */ color: oklch(68.6% 0.106 351.8);
Tailwind
colors: {
  custom: {
    50: '#dda4bc',
    500: '#cc7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ea1;
$custom-light: #dda4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ea1",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 333.077,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.10559,
    "h": 351.8
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

primary
#CC7EA1
secondary
#C6E0D4
accent
#B67A2F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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