#C642A6#C642A6

#C642A6 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 338.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C642A6
RGBrgb(198, 66, 166)
HSLhsl(315, 54%, 52%)
HSVhsv(315, 67%, 78%)
CMYKcmyk(0%, 66.7%, 16.2%, 22.4%)
CIE-LABlab(50.28, 62.56, -26.50)
CIE-LCHlch(50.28, 67.94, 337.04°)
OKLaboklab(59.75% 0.1852 -0.0716)
OKLCHoklch(59.75% 0.199 338.9)
XYZxyz(32.1205, 18.6583, 37.9787)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A6 #42C662
analogous
#A442C6 #C642A6 #C64264
triadic
#C642A6 #A6C642 #42A6C6
tetradic
#C642A6 #C6A442 #42C662 #4264C6
square
#C642A6 #C6A442 #42C662 #4264C6
split-complementary
#C642A6 #64C642 #42C6A4
monochromatic
#6D215A #9C2F81 #C642A6 #D471BC #E2A0D2

Accessibility & contrast

On white

4.44
#C642A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C642A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642A6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642A6#FFFFFF#000000##000000
##C642A61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#727FA3
Tritanopia (blue-blind)
#D1476E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c642a6;
/* rgb */ color: rgb(198, 66, 166);
/* oklch */ color: oklch(59.8% 0.199 338.9);
Tailwind
colors: {
  custom: {
    50: '#db80c0',
    500: '#c642a6',
    950: '#000000',
  },
}
SCSS
$custom: #c642a6;
$custom-light: #db80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a6",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 314.545,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.19856,
    "h": 338.9
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#C642A6
secondary
#95CFA3
accent
#DD6E4B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C642A6

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

Preview Lab → · Contrast checker → · Palette generator →

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