#CC3F8B#CC3F8B

#CC3F8B is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.191 H 351.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC3F8B
RGBrgb(204, 63, 139)
HSLhsl(328, 58%, 52%)
HSVhsv(328, 69%, 80%)
CMYKcmyk(0%, 69.1%, 31.9%, 20%)
CIE-LABlab(49.81, 61.77, -11.08)
CIE-LCHlch(49.81, 62.75, 349.83°)
OKLaboklab(59.25% 0.1886 -0.0287)
OKLCHoklch(59.25% 0.191 351.3)
XYZxyz(31.3412, 18.2600, 26.2951)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F8B #3FCC80
analogous
#C73FCC #CC3F8B #CC3F44
triadic
#CC3F8B #8BCC3F #3F8BCC
tetradic
#CC3F8B #CCC73F #3FCC80 #3F44CC
square
#CC3F8B #CCC73F #3FCC80 #3F44CC
split-complementary
#CC3F8B #44CC3F #3FCCC7
monochromatic
#721E4C #A32B6C #CC3F8B #D96FA8 #E6A0C5

Accessibility & contrast

On white

4.51
#CC3F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC3F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F8B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F8B#FFFFFF#000000##000000
##CC3F8B1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668D
Deuteranopia (green-blind)
#7D8088
Tritanopia (blue-blind)
#DB365F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3f8b;
/* rgb */ color: rgb(204, 63, 139);
/* oklch */ color: oklch(59.2% 0.191 351.3);
Tailwind
colors: {
  custom: {
    50: '#e07eac',
    500: '#cc3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f8b;
$custom-light: #e07eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f8b",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 327.66,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.19078,
    "h": 351.3
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#CC3F8B
secondary
#95D2B1
accent
#E18E47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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