#CC3E7B#CC3E7B

#CC3E7B is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.6% C 0.185 H 358.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3E7B
RGBrgb(204, 62, 123)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 70%, 80%)
CMYKcmyk(0%, 69.6%, 39.7%, 20%)
CIE-LABlab(49.15, 60.37, -2.42)
CIE-LCHlch(49.15, 60.42, 357.70°)
OKLaboklab(58.59% 0.1851 -0.0056)
OKLCHoklch(58.59% 0.185 358.3)
XYZxyz(30.2017, 17.7164, 20.5642)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E7B #3ECC8F
analogous
#CC3EC2 #CC3E7B #CC483E
triadic
#CC3E7B #7BCC3E #3E7BCC
tetradic
#CC3E7B #C2CC3E #3ECC8F #483ECC
square
#CC3E7B #C2CC3E #3ECC8F #483ECC
split-complementary
#CC3E7B #3ECC48 #3EC2CC
monochromatic
#721E42 #A22B5E #CC3E7B #D96E9C #E69FBD

Accessibility & contrast

On white

4.62
#CC3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CC3E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3E7B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E7B#FFFFFF#000000##FFFFFF
##CC3E7B1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DC2D57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3e7b;
/* rgb */ color: rgb(204, 62, 123);
/* oklch */ color: oklch(58.6% 0.185 358.3);
Tailwind
colors: {
  custom: {
    50: '#e07ea1',
    500: '#cc3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e7b;
$custom-light: #e07ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e7b",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 334.225,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.18514,
    "h": 358.3
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#CC3E7B
secondary
#94D2B7
accent
#E19F46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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