#CC4092#CC4092

#CC4092 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.193 H 348.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC4092
RGBrgb(204, 64, 146)
HSLhsl(325, 58%, 53%)
HSVhsv(325, 69%, 80%)
CMYKcmyk(0%, 68.6%, 28.4%, 20%)
CIE-LABlab(50.20, 62.24, -14.69)
CIE-LCHlch(50.20, 63.95, 346.72°)
OKLaboklab(59.61% 0.1892 -0.0385)
OKLCHoklch(59.61% 0.193 348.5)
XYZxyz(31.9250, 18.5829, 29.0941)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4092 #40CC7A
analogous
#C040CC #CC4092 #CC404C
triadic
#CC4092 #92CC40 #4092CC
tetradic
#CC4092 #CCC040 #40CC7A #404CCC
square
#CC4092 #CCC040 #40CC7A #404CCC
split-complementary
#CC4092 #4CCC40 #40CCC0
monochromatic
#731F50 #A32C72 #CC4092 #D970AE #E6A1C9

Accessibility & contrast

On white

4.45
#CC4092 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC4092 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4092
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4092#FFFFFF#000000##000000
##CC40921.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#536894
Deuteranopia (green-blind)
#7C808F
Tritanopia (blue-blind)
#DA3A63
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc4092;
/* rgb */ color: rgb(204, 64, 146);
/* oklch */ color: oklch(59.6% 0.193 348.5);
Tailwind
colors: {
  custom: {
    50: '#e07fb2',
    500: '#cc4092',
    950: '#000000',
  },
}
SCSS
$custom: #cc4092;
$custom-light: #e07fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4092",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 324.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.19313,
    "h": 348.5
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#CC4092
secondary
#95D2AF
accent
#E18747
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4092

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

Preview Lab → · Contrast checker → · Palette generator →

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