#CC3874#CC3874

#CC3874 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.190 H 0.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC3874
RGBrgb(204, 56, 116)
HSLhsl(336, 59%, 51%)
HSVhsv(336, 73%, 80%)
CMYKcmyk(0%, 72.5%, 43.1%, 20%)
CIE-LABlab(48.17, 61.81, 0.40)
CIE-LCHlch(48.17, 61.81, 0.37°)
OKLaboklab(57.8% 0.1896 0.0017)
OKLCHoklch(57.8% 0.19 0.5)
XYZxyz(29.4706, 16.9304, 18.2356)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3874 #38CC90
analogous
#CC38BE #CC3874 #CC4638
triadic
#CC3874 #74CC38 #3874CC
tetradic
#CC3874 #BECC38 #38CC90 #4638CC
square
#CC3874 #BECC38 #38CC90 #4638CC
split-complementary
#CC3874 #38CC46 #38BECC
monochromatic
#6E1C3D #9E2958 #CC3874 #D86996 #E599B8

Accessibility & contrast

On white

4.79
#CC3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3874
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3874#FFFFFF#000000##FFFFFF
##CC38741.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#807D71
Tritanopia (blue-blind)
#DD2151
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3874;
/* rgb */ color: rgb(204, 56, 116);
/* oklch */ color: oklch(57.8% 0.190 0.5);
Tailwind
colors: {
  custom: {
    50: '#e17b9b',
    500: '#cc3874',
    950: '#000000',
  },
}
SCSS
$custom: #cc3874;
$custom-light: #e17b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3874",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 335.676,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.578,
    "c": 0.18959,
    "h": 0.5
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#CC3874
secondary
#8FD1B6
accent
#E2A345
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3874

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

Preview Lab → · Contrast checker → · Palette generator →

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