#CC41B1#CC41B1

#CC41B1 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.1% C 0.211 H 336.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC41B1
RGBrgb(204, 65, 177)
HSLhsl(312, 58%, 53%)
HSVhsv(312, 68%, 80%)
CMYKcmyk(0%, 68.1%, 13.2%, 20%)
CIE-LABlab(51.60, 66.05, -30.83)
CIE-LCHlch(51.60, 72.89, 334.98°)
OKLaboklab(61.06% 0.1939 -0.0838)
OKLCHoklch(61.06% 0.211 336.6)
XYZxyz(34.7285, 19.7953, 43.5783)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC41B1 #41CC5C
analogous
#A241CC #CC41B1 #CC416B
triadic
#CC41B1 #B1CC41 #41B1CC
tetradic
#CC41B1 #CCA241 #41CC5C #416BCC
square
#CC41B1 #CCA241 #41CC5C #416BCC
split-complementary
#CC41B1 #6BCC41 #41CCA2
monochromatic
#741F63 #A42C8D #CC41B1 #D971C5 #E6A1D9

Accessibility & contrast

On white

4.24
#CC41B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC41B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC41B1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC41B1#FFFFFF#000000##000000
##CC41B11.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446DB4
Deuteranopia (green-blind)
#7283AE
Tritanopia (blue-blind)
#D64973
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc41b1;
/* rgb */ color: rgb(204, 65, 177);
/* oklch */ color: oklch(61.1% 0.211 336.6);
Tailwind
colors: {
  custom: {
    50: '#df81c8',
    500: '#cc41b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc41b1;
$custom-light: #df81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc41b1",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 311.655,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.21121,
    "h": 336.6
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#CC41B1
secondary
#96D3A2
accent
#E16547
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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