#CC46B1#CC46B1

#CC46B1 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.205 H 336.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC46B1
RGBrgb(204, 70, 177)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 66%, 80%)
CMYKcmyk(0%, 65.7%, 13.2%, 20%)
CIE-LABlab(52.28, 64.16, -29.78)
CIE-LCHlch(52.28, 70.74, 335.11°)
OKLaboklab(61.55% 0.1883 -0.0808)
OKLCHoklch(61.55% 0.205 336.8)
XYZxyz(35.0283, 20.3950, 43.6782)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46B1 #46CC61
analogous
#A446CC #CC46B1 #CC466E
triadic
#CC46B1 #B1CC46 #46B1CC
tetradic
#CC46B1 #CCA446 #46CC61 #466ECC
square
#CC46B1 #CCA446 #46CC61 #466ECC
split-complementary
#CC46B1 #6ECC46 #46CCA4
monochromatic
#772165 #A72E8E #CC46B1 #D976C5 #E6A6D9

Accessibility & contrast

On white

4.14
#CC46B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC46B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46B1#FFFFFF#000000##000000
##CC46B11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#D64D75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc46b1;
/* rgb */ color: rgb(204, 70, 177);
/* oklch */ color: oklch(61.6% 0.205 336.8);
Tailwind
colors: {
  custom: {
    50: '#df83c8',
    500: '#cc46b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc46b1;
$custom-light: #df83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46b1",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 312.09,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.20489,
    "h": 336.8
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#CC46B1
secondary
#9AD4A6
accent
#E06648
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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