#CC3175#CC3175

#CC3175 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.197 H 359.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC3175
RGBrgb(204, 49, 117)
HSLhsl(334, 61%, 50%)
HSVhsv(334, 76%, 80%)
CMYKcmyk(0%, 76%, 42.6%, 20%)
CIE-LABlab(47.39, 64.18, -1.35)
CIE-LCHlch(47.39, 64.19, 358.80°)
OKLaboklab(57.24% 0.1972 -0.0028)
OKLCHoklch(57.24% 0.197 359.2)
XYZxyz(29.2133, 16.3222, 18.4383)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3175 #31CC88
analogous
#CC31C3 #CC3175 #CC3A31
triadic
#CC3175 #75CC31 #3175CC
tetradic
#CC3175 #C3CC31 #31CC88 #3A31CC
square
#CC3175 #C3CC31 #31CC88 #3A31CC
split-complementary
#CC3175 #31CC3A #31C3CC
monochromatic
#69193C #9B2559 #CC3175 #D96196 #E592B7

Accessibility & contrast

On white

4.93
#CC3175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#CC3175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3175
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3175#FFFFFF#000000##FFFFFF
##CC31751.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E77
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#DD154F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3175;
/* rgb */ color: rgb(204, 49, 117);
/* oklch */ color: oklch(57.2% 0.197 359.2);
Tailwind
colors: {
  custom: {
    50: '#e1789c',
    500: '#cc3175',
    950: '#000000',
  },
}
SCSS
$custom: #cc3175;
$custom-light: #e1789c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3175",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 333.677,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.19719,
    "h": 359.2
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#CC3175
secondary
#89D0B1
accent
#E49E43
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3175

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

Preview Lab → · Contrast checker → · Palette generator →

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