#CC46B8#CC46B8

#CC46B8 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.210 H 334.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC46B8
RGBrgb(204, 70, 184)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 65.7%, 9.8%, 20%)
CIE-LABlab(52.60, 65.22, -33.35)
CIE-LCHlch(52.60, 73.25, 332.91°)
OKLaboklab(61.89% 0.1892 -0.0911)
OKLCHoklch(61.89% 0.21 334.3)
XYZxyz(35.7440, 20.6813, 47.4474)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46B8 #46CC5A
analogous
#9D46CC #CC46B8 #CC4675
triadic
#CC46B8 #B8CC46 #46B8CC
tetradic
#CC46B8 #CC9D46 #46CC5A #4675CC
square
#CC46B8 #CC9D46 #46CC5A #4675CC
split-complementary
#CC46B8 #75CC46 #46CC9D
monochromatic
#77216A #A72E95 #CC46B8 #D976CA #E6A6DD

Accessibility & contrast

On white

4.09
#CC46B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC46B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46B8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46B8#FFFFFF#000000##000000
##CC46B81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#7185B5
Tritanopia (blue-blind)
#D55079
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc46b8;
/* rgb */ color: rgb(204, 70, 184);
/* oklch */ color: oklch(61.9% 0.210 334.3);
Tailwind
colors: {
  custom: {
    50: '#df83cd',
    500: '#cc46b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc46b8;
$custom-light: #df83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46b8",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 308.955,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.20993,
    "h": 334.3
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#CC46B8
secondary
#9AD4A3
accent
#E05E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC46B8

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

Preview Lab → · Contrast checker → · Palette generator →

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