#CC4098#CC4098

#CC4098 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.196 H 346.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC4098
RGBrgb(204, 64, 152)
HSLhsl(322, 58%, 53%)
HSVhsv(322, 69%, 80%)
CMYKcmyk(0%, 68.6%, 25.5%, 20%)
CIE-LABlab(50.42, 62.99, -17.92)
CIE-LCHlch(50.42, 65.49, 344.12°)
OKLaboklab(59.85% 0.1906 -0.0475)
OKLCHoklch(59.85% 0.196 346)
XYZxyz(32.4041, 18.7745, 31.6170)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4098 #40CC74
analogous
#BA40CC #CC4098 #CC4052
triadic
#CC4098 #98CC40 #4098CC
tetradic
#CC4098 #CCBA40 #40CC74 #4052CC
square
#CC4098 #CCBA40 #40CC74 #4052CC
split-complementary
#CC4098 #52CC40 #40CCBA
monochromatic
#731F54 #A32C77 #CC4098 #D970B2 #E6A1CC

Accessibility & contrast

On white

4.42
#CC4098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC4098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4098
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4098#FFFFFF#000000##000000
##CC40981.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#51699B
Deuteranopia (green-blind)
#7A8195
Tritanopia (blue-blind)
#DA3D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4098;
/* rgb */ color: rgb(204, 64, 152);
/* oklch */ color: oklch(59.9% 0.196 346.0);
Tailwind
colors: {
  custom: {
    50: '#e07fb6',
    500: '#cc4098',
    950: '#000000',
  },
}
SCSS
$custom: #cc4098;
$custom-light: #e07fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4098",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 322.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.19646,
    "h": 346
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#CC4098
secondary
#95D2AC
accent
#E18047
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4098

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

Preview Lab → · Contrast checker → · Palette generator →

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