#CC3F8D#CC3F8D

#CC3F8D is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.192 H 350.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CC3F8D
RGBrgb(204, 63, 141)
HSLhsl(327, 58%, 52%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69.1%, 30.9%, 20%)
CIE-LABlab(49.88, 62.00, -12.17)
CIE-LCHlch(49.88, 63.19, 348.89°)
OKLaboklab(59.32% 0.1891 -0.0317)
OKLCHoklch(59.32% 0.192 350.5)
XYZxyz(31.4887, 18.3190, 27.0718)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F8D #3FCC7E
analogous
#C53FCC #CC3F8D #CC3F46
triadic
#CC3F8D #8DCC3F #3F8DCC
tetradic
#CC3F8D #CCC53F #3FCC7E #3F46CC
square
#CC3F8D #CCC53F #3FCC7E #3F46CC
split-complementary
#CC3F8D #46CC3F #3FCCC5
monochromatic
#721E4D #A32B6D #CC3F8D #D96FAA #E6A0C6

Accessibility & contrast

On white

4.50
#CC3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CC3F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F8D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F8D#FFFFFF#000000##000000
##CC3F8D1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#54678F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#DB3760
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3f8d;
/* rgb */ color: rgb(204, 63, 141);
/* oklch */ color: oklch(59.3% 0.192 350.5);
Tailwind
colors: {
  custom: {
    50: '#e07fae',
    500: '#cc3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f8d;
$custom-light: #e07fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f8d",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 326.809,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.19176,
    "h": 350.5
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#CC3F8D
secondary
#95D2B0
accent
#E18C47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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