#C642A3#C642A3

#C642A3 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.6% C 0.197 H 340.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C642A3
RGBrgb(198, 66, 163)
HSLhsl(316, 54%, 52%)
HSVhsv(316, 67%, 78%)
CMYKcmyk(0%, 66.7%, 17.7%, 22.4%)
CIE-LABlab(50.16, 62.13, -24.93)
CIE-LCHlch(50.16, 66.95, 338.14°)
OKLaboklab(59.62% 0.1847 -0.0672)
OKLCHoklch(59.62% 0.197 340)
XYZxyz(31.8485, 18.5495, 36.5463)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A3 #42C665
analogous
#A742C6 #C642A3 #C64261
triadic
#C642A3 #A3C642 #42A3C6
tetradic
#C642A3 #C6A742 #42C665 #4261C6
square
#C642A3 #C6A742 #42C665 #4261C6
split-complementary
#C642A3 #61C642 #42C6A7
monochromatic
#6D2159 #9C2F7F #C642A3 #D471BA #E2A0D1

Accessibility & contrast

On white

4.46
#C642A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C642A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642A3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642A3#FFFFFF#000000##000000
##C642A31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#737FA0
Tritanopia (blue-blind)
#D1466D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c642a3;
/* rgb */ color: rgb(198, 66, 163);
/* oklch */ color: oklch(59.6% 0.197 340.0);
Tailwind
colors: {
  custom: {
    50: '#db80be',
    500: '#c642a3',
    950: '#000000',
  },
}
SCSS
$custom: #c642a3;
$custom-light: #db80be;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a3",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 315.909,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.19654,
    "h": 340
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C642A3

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

Preview Lab → · Contrast checker → · Palette generator →

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