#C642A5#C642A5

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

Color values

HEX#C642A5
RGBrgb(198, 66, 165)
HSLhsl(315, 54%, 52%)
HSVhsv(315, 67%, 78%)
CMYKcmyk(0%, 66.7%, 16.7%, 22.4%)
CIE-LABlab(50.24, 62.42, -25.98)
CIE-LCHlch(50.24, 67.61, 337.40°)
OKLaboklab(59.71% 0.185 -0.0701)
OKLCHoklch(59.71% 0.198 339.2)
XYZxyz(32.0292, 18.6217, 37.4975)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A5 #42C663
analogous
#A542C6 #C642A5 #C64263
triadic
#C642A5 #A5C642 #42A5C6
tetradic
#C642A5 #C6A542 #42C663 #4263C6
square
#C642A5 #C6A542 #42C663 #4263C6
split-complementary
#C642A5 #63C642 #42C6A5
monochromatic
#6D215A #9C2F81 #C642A5 #D471BB #E2A0D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C642A5#FFFFFF#000000##000000
##C642A51.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)
#496AA8
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#D1466E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c642a5;
/* rgb */ color: rgb(198, 66, 165);
/* oklch */ color: oklch(59.7% 0.198 339.2);
Tailwind
colors: {
  custom: {
    50: '#db80c0',
    500: '#c642a5',
    950: '#000000',
  },
}
SCSS
$custom: #c642a5;
$custom-light: #db80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a5",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 315,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.19788,
    "h": 339.2
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C642A5

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

Preview Lab → · Contrast checker → · Palette generator →

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