#C642A4#C642A4

#C642A4 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.197 H 339.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C642A4
RGBrgb(198, 66, 164)
HSLhsl(315, 54%, 52%)
HSVhsv(315, 67%, 78%)
CMYKcmyk(0%, 66.7%, 17.2%, 22.4%)
CIE-LABlab(50.20, 62.27, -25.45)
CIE-LCHlch(50.20, 67.27, 337.77°)
OKLaboklab(59.66% 0.1849 -0.0687)
OKLCHoklch(59.66% 0.197 339.6)
XYZxyz(31.9385, 18.5855, 37.0200)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A4 #42C664
analogous
#A642C6 #C642A4 #C64262
triadic
#C642A4 #A4C642 #42A4C6
tetradic
#C642A4 #C6A642 #42C664 #4262C6
square
#C642A4 #C6A642 #42C664 #4262C6
split-complementary
#C642A4 #62C642 #42C6A6
monochromatic
#6D2159 #9C2F80 #C642A4 #D471BB #E2A0D1

Accessibility & contrast

On white

4.45
#C642A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C642A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642A4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642A4#FFFFFF#000000##000000
##C642A41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#727FA1
Tritanopia (blue-blind)
#D1466D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c642a4;
/* rgb */ color: rgb(198, 66, 164);
/* oklch */ color: oklch(59.7% 0.197 339.6);
Tailwind
colors: {
  custom: {
    50: '#db80bf',
    500: '#c642a4',
    950: '#000000',
  },
}
SCSS
$custom: #c642a4;
$custom-light: #db80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a4",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 315.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.19721,
    "h": 339.6
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#C642A4
secondary
#95CFA4
accent
#DD704B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C642A4

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

Preview Lab → · Contrast checker → · Palette generator →

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