#CC3781#CC3781

#CC3781 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.196 H 354.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC3781
RGBrgb(204, 55, 129)
HSLhsl(330, 59%, 51%)
HSVhsv(330, 73%, 80%)
CMYKcmyk(0%, 73%, 36.8%, 20%)
CIE-LABlab(48.46, 63.47, -7.08)
CIE-LCHlch(48.46, 63.86, 353.64°)
OKLaboklab(58.14% 0.1947 -0.0179)
OKLCHoklch(58.14% 0.196 354.8)
XYZxyz(30.2324, 17.1584, 22.4845)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3781 #37CC82
analogous
#CC37CC #CC3781 #CC3737
triadic
#CC3781 #81CC37 #3781CC
tetradic
#CC3781 #CCCC37 #37CC82 #3737CC
square
#CC3781 #CCCC37 #37CC82 #3737CC
split-complementary
#CC3781 #37CC37 #37CCCC
monochromatic
#6D1C44 #9E2863 #CC3781 #D868A0 #E599BE

Accessibility & contrast

On white

4.74
#CC3781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC3781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3781
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3781#FFFFFF#000000##FFFFFF
##CC37811.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536283
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#DC2757
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3781;
/* rgb */ color: rgb(204, 55, 129);
/* oklch */ color: oklch(58.1% 0.196 354.8);
Tailwind
colors: {
  custom: {
    50: '#e17ba5',
    500: '#cc3781',
    950: '#000000',
  },
}
SCSS
$custom: #cc3781;
$custom-light: #e17ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3781",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 330.201,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.19552,
    "h": 354.8
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#CC3781
secondary
#8ED0B0
accent
#E39445
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3781

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

Preview Lab → · Contrast checker → · Palette generator →

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