#CC296F#CC296F

#CC296F is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.203 H 0.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC296F
RGBrgb(204, 41, 111)
HSLhsl(334, 67%, 48%)
HSVhsv(334, 80%, 80%)
CMYKcmyk(0%, 79.9%, 45.6%, 20%)
CIE-LABlab(46.41, 65.91, 0.90)
CIE-LCHlch(46.41, 65.91, 0.78°)
OKLaboklab(56.46% 0.2025 0.003)
OKLCHoklch(56.46% 0.203 0.9)
XYZxyz(28.5664, 15.5748, 16.5378)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC296F #29CC86
analogous
#CC29C0 #CC296F #CC3429
triadic
#CC296F #6FCC29 #296FCC
tetradic
#CC296F #C0CC29 #29CC86 #3429CC
square
#CC296F #C0CC29 #29CC86 #3429CC
split-complementary
#CC296F #29CC34 #29C0CC
monochromatic
#661538 #991F53 #CC296F #DD5590 #E788B1

Accessibility & contrast

On white

5.10
#CC296F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CC296F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC296F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC296F#FFFFFF#000000##FFFFFF
##CC296F1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#7D796B
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc296f;
/* rgb */ color: rgb(204, 41, 111);
/* oklch */ color: oklch(56.5% 0.203 0.9);
Tailwind
colors: {
  custom: {
    50: '#e27498',
    500: '#cc296f',
    950: '#000000',
  },
}
SCSS
$custom: #cc296f;
$custom-light: #e27498;
$custom-dark: #000000;
JSON
{
  "hex": "#cc296f",
  "rgb": {
    "r": 204,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 334.233,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.20255,
    "h": 0.9
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#CC296F
secondary
#80D1AE
accent
#E9A03E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC296F

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

Preview Lab → · Contrast checker → · Palette generator →

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