#C642A7#C642A7

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

Color values

HEX#C642A7
RGBrgb(198, 66, 167)
HSLhsl(314, 54%, 52%)
HSVhsv(314, 67%, 78%)
CMYKcmyk(0%, 66.7%, 15.7%, 22.4%)
CIE-LABlab(50.33, 62.71, -27.02)
CIE-LCHlch(50.33, 68.28, 336.69°)
OKLaboklab(59.8% 0.1853 -0.0731)
OKLCHoklch(59.8% 0.199 338.5)
XYZxyz(32.2126, 18.6951, 38.4637)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A7 #42C661
analogous
#A342C6 #C642A7 #C64265
triadic
#C642A7 #A7C642 #42A7C6
tetradic
#C642A7 #C6A342 #42C661 #4265C6
square
#C642A7 #C6A342 #42C661 #4265C6
split-complementary
#C642A7 #65C642 #42C6A3
monochromatic
#6D215B #9C2F82 #C642A7 #D471BD #E2A0D3

Accessibility & contrast

On white

4.43
#C642A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C642A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642A7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642A7#FFFFFF#000000##000000
##C642A71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486BAA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D1476F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c642a7;
/* rgb */ color: rgb(198, 66, 167);
/* oklch */ color: oklch(59.8% 0.199 338.5);
Tailwind
colors: {
  custom: {
    50: '#db80c1',
    500: '#c642a7',
    950: '#000000',
  },
}
SCSS
$custom: #c642a7;
$custom-light: #db80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a7",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 314.091,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.19924,
    "h": 338.5
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C642A7

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

Preview Lab → · Contrast checker → · Palette generator →

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