#CC3274#CC3274

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

Color values

HEX#CC3274
RGBrgb(204, 50, 116)
HSLhsl(334, 61%, 50%)
HSVhsv(334, 75%, 80%)
CMYKcmyk(0%, 75.5%, 43.1%, 20%)
CIE-LABlab(47.47, 63.78, -0.62)
CIE-LCHlch(47.47, 63.78, 359.44°)
OKLaboklab(57.29% 0.1959 -0.0009)
OKLCHoklch(57.29% 0.196 359.7)
XYZxyz(29.1971, 16.3833, 18.1444)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3274 #32CC8A
analogous
#CC32C1 #CC3274 #CC3D32
triadic
#CC3274 #74CC32 #3274CC
tetradic
#CC3274 #C1CC32 #32CC8A #3D32CC
square
#CC3274 #C1CC32 #32CC8A #3D32CC
split-complementary
#CC3274 #32CC3D #32C1CC
monochromatic
#6A1A3C #9B2658 #CC3274 #D96395 #E594B6

Accessibility & contrast

On white

4.91
#CC3274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CC3274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3274
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3274#FFFFFF#000000##FFFFFF
##CC32741.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E76
Deuteranopia (green-blind)
#7E7B70
Tritanopia (blue-blind)
#DD164F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc3274;
/* rgb */ color: rgb(204, 50, 116);
/* oklch */ color: oklch(57.3% 0.196 359.7);
Tailwind
colors: {
  custom: {
    50: '#e1789b',
    500: '#cc3274',
    950: '#000000',
  },
}
SCSS
$custom: #cc3274;
$custom-light: #e1789b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3274",
  "rgb": {
    "r": 204,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 334.286,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.19586,
    "h": 359.7
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3274

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

Preview Lab → · Contrast checker → · Palette generator →

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