#CC4068#CC4068

#CC4068 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.2% C 0.178 H 7.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC4068
RGBrgb(204, 64, 104)
HSLhsl(343, 58%, 53%)
HSVhsv(343, 69%, 80%)
CMYKcmyk(0%, 68.6%, 49%, 20%)
CIE-LABlab(48.89, 57.81, 8.74)
CIE-LCHlch(48.89, 58.46, 8.60°)
OKLaboklab(58.23% 0.1761 0.0227)
OKLCHoklch(58.23% 0.178 7.4)
XYZxyz(29.2363, 17.5074, 14.9337)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4068 #40CCA4
analogous
#CC40AE #CC4068 #CC5E40
triadic
#CC4068 #68CC40 #4068CC
tetradic
#CC4068 #AECC40 #40CCA4 #5E40CC
square
#CC4068 #AECC40 #40CCA4 #5E40CC
split-complementary
#CC4068 #40CC5E #40AECC
monochromatic
#731F37 #A32C4E #CC4068 #D9708E #E6A1B4

Accessibility & contrast

On white

4.67
#CC4068 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CC4068 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4068
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4068#FFFFFF#000000##FFFFFF
##CC40681.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606269
Deuteranopia (green-blind)
#857E65
Tritanopia (blue-blind)
#DE2850
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4068;
/* rgb */ color: rgb(204, 64, 104);
/* oklch */ color: oklch(58.2% 0.178 7.4);
Tailwind
colors: {
  custom: {
    50: '#e17e92',
    500: '#cc4068',
    950: '#000000',
  },
}
SCSS
$custom: #cc4068;
$custom-light: #e17e92;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4068",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 104
  },
  "hsl": {
    "h": 342.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.17752,
    "h": 7.4
  },
  "luminance": 0.17504
}

Semantic roles & 50–950 ramp

primary
#CC4068
secondary
#95D2C1
accent
#E1B547
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0D
muted
#847C7D

Preview Lab

Preview with #CC4068

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

Preview Lab → · Contrast checker → · Palette generator →

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