#CC3273#CC3273

#CC3273 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.196 H 0.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3273
RGBrgb(204, 50, 115)
HSLhsl(335, 61%, 50%)
HSVhsv(335, 75%, 80%)
CMYKcmyk(0%, 75.5%, 43.6%, 20%)
CIE-LABlab(47.44, 63.68, -0.05)
CIE-LCHlch(47.44, 63.68, 359.95°)
OKLaboklab(57.26% 0.1955 0.0006)
OKLCHoklch(57.26% 0.196 0.2)
XYZxyz(29.1392, 16.3602, 17.8397)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3273 #32CC8B
analogous
#CC32C0 #CC3273 #CC3E32
triadic
#CC3273 #73CC32 #3273CC
tetradic
#CC3273 #C0CC32 #32CC8B #3E32CC
square
#CC3273 #C0CC32 #32CC8B #3E32CC
split-complementary
#CC3273 #32CC3E #32C0CC
monochromatic
#6A1A3C #9B2657 #CC3273 #D96394 #E594B6

Accessibility & contrast

On white

4.92
#CC3273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CC3273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3273
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3273#FFFFFF#000000##FFFFFF
##CC32731.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E75
Deuteranopia (green-blind)
#7E7B6F
Tritanopia (blue-blind)
#DD154E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3273;
/* rgb */ color: rgb(204, 50, 115);
/* oklch */ color: oklch(57.3% 0.196 0.2);
Tailwind
colors: {
  custom: {
    50: '#e1789b',
    500: '#cc3273',
    950: '#000000',
  },
}
SCSS
$custom: #cc3273;
$custom-light: #e1789b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3273",
  "rgb": {
    "r": 204,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 334.675,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.19553,
    "h": 0.2
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#CC3273
secondary
#8AD0B2
accent
#E4A044
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3273

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

Preview Lab → · Contrast checker → · Palette generator →

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