#CC315D#CC315D

#CC315D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.191 H 9.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC315D
RGBrgb(204, 49, 93)
HSLhsl(343, 61%, 50%)
HSVhsv(343, 76%, 80%)
CMYKcmyk(0%, 76%, 54.4%, 20%)
CIE-LABlab(46.75, 62.14, 12.47)
CIE-LCHlch(46.75, 63.38, 11.35°)
OKLaboklab(56.55% 0.1887 0.0316)
OKLCHoklch(56.55% 0.191 9.5)
XYZxyz(27.9786, 15.8283, 11.9357)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC315D #31CCA0
analogous
#CC31AB #CC315D #CC5331
triadic
#CC315D #5DCC31 #315DCC
tetradic
#CC315D #ABCC31 #31CCA0 #5331CC
square
#CC315D #ABCC31 #31CCA0 #5331CC
split-complementary
#CC315D #31CC53 #31ABCC
monochromatic
#691930 #9B2547 #CC315D #D96183 #E592AA

Accessibility & contrast

On white

5.04
#CC315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#CC315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC315D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC315D#FFFFFF#000000##FFFFFF
##CC315D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5E
Deuteranopia (green-blind)
#827A59
Tritanopia (blue-blind)
#DF0044
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc315d;
/* rgb */ color: rgb(204, 49, 93);
/* oklch */ color: oklch(56.6% 0.191 9.5);
Tailwind
colors: {
  custom: {
    50: '#e2778a',
    500: '#cc315d',
    950: '#000000',
  },
}
SCSS
$custom: #cc315d;
$custom-light: #e2778a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc315d",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 342.968,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.19134,
    "h": 9.5
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#CC315D
secondary
#89D0BC
accent
#E4B743
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CC315D

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

Preview Lab → · Contrast checker → · Palette generator →

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