#CC4298#CC4298

#CC4298 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.1% C 0.194 H 346.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC4298
RGBrgb(204, 66, 152)
HSLhsl(323, 58%, 53%)
HSVhsv(323, 68%, 80%)
CMYKcmyk(0%, 67.6%, 25.5%, 20%)
CIE-LABlab(50.69, 62.24, -17.51)
CIE-LCHlch(50.69, 64.65, 344.29°)
OKLaboklab(60.05% 0.1883 -0.0463)
OKLCHoklch(60.05% 0.194 346.2)
XYZxyz(32.5189, 19.0042, 31.6553)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4298 #42CC76
analogous
#BB42CC #CC4298 #CC4253
triadic
#CC4298 #98CC42 #4298CC
tetradic
#CC4298 #CCBB42 #42CC76 #4253CC
square
#CC4298 #CCBB42 #42CC76 #4253CC
split-complementary
#CC4298 #53CC42 #42CCBB
monochromatic
#741F54 #A42C77 #CC4298 #D972B2 #E6A2CD

Accessibility & contrast

On white

4.37
#CC4298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC4298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4298
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4298#FFFFFF#000000##000000
##CC42981.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#526A9A
Deuteranopia (green-blind)
#7B8195
Tritanopia (blue-blind)
#DA3F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4298;
/* rgb */ color: rgb(204, 66, 152);
/* oklch */ color: oklch(60.1% 0.194 346.2);
Tailwind
colors: {
  custom: {
    50: '#df80b6',
    500: '#cc4298',
    950: '#000000',
  },
}
SCSS
$custom: #cc4298;
$custom-light: #df80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4298",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 322.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.19395,
    "h": 346.2
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

primary
#CC4298
secondary
#97D3AE
accent
#E18147
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4298

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

Preview Lab → · Contrast checker → · Palette generator →

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