#CC7FBD#CC7FBD

#CC7FBD is a light, vivid pink. Relative luminance 0.317; OKLCH L 69.7% C 0.124 H 334.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CC7FBD
RGBrgb(204, 127, 189)
HSLhsl(312, 43%, 65%)
HSVhsv(312, 38%, 80%)
CMYKcmyk(0%, 37.7%, 7.4%, 20%)
CIE-LABlab(63.09, 38.96, -20.03)
CIE-LCHlch(63.09, 43.81, 332.79°)
OKLaboklab(69.73% 0.1116 -0.0539)
OKLCHoklch(69.73% 0.124 334.2)
XYZxyz(41.6762, 31.6924, 52.0563)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FBD #7FCC8E
analogous
#B47FCC #CC7FBD #CC7F97
triadic
#CC7FBD #BDCC7F #7FBDCC
tetradic
#CC7FBD #CCB47F #7FCC8E #7F97CC
square
#CC7FBD #CCB47F #7FCC8E #7F97CC
split-complementary
#CC7FBD #97CC7F #7FCCB4
monochromatic
#953B84 #BB53A6 #CC7FBD #DDABD4 #EFD7EA

Accessibility & contrast

On white

2.86
#CC7FBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CC7FBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FBD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FBD#FFFFFF#000000##000000
##CC7FBD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#929DBB
Tritanopia (blue-blind)
#D38396
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7fbd;
/* rgb */ color: rgb(204, 127, 189);
/* oklch */ color: oklch(69.7% 0.124 334.2);
Tailwind
colors: {
  custom: {
    50: '#dda5d1',
    500: '#cc7fbd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fbd;
$custom-light: #dda5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fbd",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 311.688,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.12394,
    "h": 334.2
  },
  "luminance": 0.3169
}

Semantic roles & 50–950 ramp

primary
#CC7FBD
secondary
#C6E1CB
accent
#B64A2F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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