#CC3167#CC3167

#CC3167 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.193 H 5.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC3167
RGBrgb(204, 49, 103)
HSLhsl(339, 61%, 50%)
HSVhsv(339, 76%, 80%)
CMYKcmyk(0%, 76%, 49.5%, 20%)
CIE-LABlab(47.00, 62.93, 6.66)
CIE-LCHlch(47.00, 63.28, 6.05°)
OKLaboklab(56.82% 0.1924 0.0176)
OKLCHoklch(56.82% 0.193 5.2)
XYZxyz(28.4508, 16.0172, 14.4228)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3167 #31CC96
analogous
#CC31B5 #CC3167 #CC4931
triadic
#CC3167 #67CC31 #3167CC
tetradic
#CC3167 #B5CC31 #31CC96 #4931CC
square
#CC3167 #B5CC31 #31CC96 #4931CC
split-complementary
#CC3167 #31CC49 #31B5CC
monochromatic
#691935 #9B254E #CC3167 #D9618B #E592AF

Accessibility & contrast

On white

5.00
#CC3167 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CC3167 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3167
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3167#FFFFFF#000000##FFFFFF
##CC31671.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585C68
Deuteranopia (green-blind)
#807A63
Tritanopia (blue-blind)
#DE0448
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3167;
/* rgb */ color: rgb(204, 49, 103);
/* oklch */ color: oklch(56.8% 0.193 5.2);
Tailwind
colors: {
  custom: {
    50: '#e27792',
    500: '#cc3167',
    950: '#000000',
  },
}
SCSS
$custom: #cc3167;
$custom-light: #e27792;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3167",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 339.097,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.1932,
    "h": 5.2
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#CC3167
secondary
#89D0B7
accent
#E4AC43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC3167

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

Preview Lab → · Contrast checker → · Palette generator →

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