#C642AF#C642AF

#C642AF is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.205 H 335.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C642AF
RGBrgb(198, 66, 175)
HSLhsl(310, 54%, 52%)
HSVhsv(310, 67%, 78%)
CMYKcmyk(0%, 66.7%, 11.6%, 22.4%)
CIE-LABlab(50.69, 63.89, -31.16)
CIE-LCHlch(50.69, 71.08, 334.00°)
OKLaboklab(60.18% 0.1865 -0.0849)
OKLCHoklch(60.18% 0.205 335.5)
XYZxyz(32.9752, 19.0001, 42.4798)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642AF #42C659
analogous
#9B42C6 #C642AF #C6426D
triadic
#C642AF #AFC642 #42AFC6
tetradic
#C642AF #C69B42 #42C659 #426DC6
square
#C642AF #C69B42 #42C659 #426DC6
split-complementary
#C642AF #6DC642 #42C69B
monochromatic
#6D2160 #9C2F89 #C642AF #D471C3 #E2A0D7

Accessibility & contrast

On white

4.38
#C642AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C642AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642AF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642AF#FFFFFF#000000##000000
##C642AF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#D04B73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c642af;
/* rgb */ color: rgb(198, 66, 175);
/* oklch */ color: oklch(60.2% 0.205 335.5);
Tailwind
colors: {
  custom: {
    50: '#db80c7',
    500: '#c642af',
    950: '#000000',
  },
}
SCSS
$custom: #c642af;
$custom-light: #db80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c642af",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 310.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.20488,
    "h": 335.5
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#C642AF
secondary
#95CF9F
accent
#DD644B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C642AF

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

Preview Lab → · Contrast checker → · Palette generator →

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