#CC4297#CC4297

#CC4297 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.193 H 346.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4297
RGBrgb(204, 66, 151)
HSLhsl(323, 58%, 53%)
HSVhsv(323, 68%, 80%)
CMYKcmyk(0%, 67.6%, 26%, 20%)
CIE-LABlab(50.65, 62.11, -16.97)
CIE-LCHlch(50.65, 64.39, 344.72°)
OKLaboklab(60.01% 0.1881 -0.0448)
OKLCHoklch(60.01% 0.193 346.6)
XYZxyz(32.4373, 18.9715, 31.2258)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4297 #42CC77
analogous
#BC42CC #CC4297 #CC4252
triadic
#CC4297 #97CC42 #4297CC
tetradic
#CC4297 #CCBC42 #42CC77 #4252CC
square
#CC4297 #CCBC42 #42CC77 #4252CC
split-complementary
#CC4297 #52CC42 #42CCBC
monochromatic
#741F54 #A42C76 #CC4297 #D972B2 #E6A2CC

Accessibility & contrast

On white

4.38
#CC4297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC4297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4297
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4297#FFFFFF#000000##000000
##CC42971.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#7B8194
Tritanopia (blue-blind)
#DA3F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4297;
/* rgb */ color: rgb(204, 66, 151);
/* oklch */ color: oklch(60.0% 0.193 346.6);
Tailwind
colors: {
  custom: {
    50: '#e080b5',
    500: '#cc4297',
    950: '#000000',
  },
}
SCSS
$custom: #cc4297;
$custom-light: #e080b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4297",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 323.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.19337,
    "h": 346.6
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4297

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

Preview Lab → · Contrast checker → · Palette generator →

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