#CC3D7B#CC3D7B

#CC3D7B is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.186 H 358.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC3D7B
RGBrgb(204, 61, 123)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 70%, 80%)
CMYKcmyk(0%, 70.1%, 39.7%, 20%)
CIE-LABlab(49.02, 60.74, -2.62)
CIE-LCHlch(49.02, 60.80, 357.53°)
OKLaboklab(58.49% 0.1862 -0.0061)
OKLCHoklch(58.49% 0.186 358.1)
XYZxyz(30.1478, 17.6086, 20.5463)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3D7B #3DCC8E
analogous
#CC3DC2 #CC3D7B #CC473D
triadic
#CC3D7B #7BCC3D #3D7BCC
tetradic
#CC3D7B #C2CC3D #3DCC8E #473DCC
square
#CC3D7B #C2CC3D #3DCC8E #473DCC
split-complementary
#CC3D7B #3DCC47 #3DC2CC
monochromatic
#711E42 #A12A5E #CC3D7B #D96D9C #E59EBD

Accessibility & contrast

On white

4.64
#CC3D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CC3D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3D7B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3D7B#FFFFFF#000000##FFFFFF
##CC3D7B1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#807E78
Tritanopia (blue-blind)
#DC2C57
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3d7b;
/* rgb */ color: rgb(204, 61, 123);
/* oklch */ color: oklch(58.5% 0.186 358.1);
Tailwind
colors: {
  custom: {
    50: '#e17da1',
    500: '#cc3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc3d7b;
$custom-light: #e17da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3d7b",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 333.986,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.18632,
    "h": 358.1
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#CC3D7B
secondary
#93D2B7
accent
#E29E46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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