#C642A2#C642A2

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

Color values

HEX#C642A2
RGBrgb(198, 66, 162)
HSLhsl(316, 54%, 52%)
HSVhsv(316, 67%, 78%)
CMYKcmyk(0%, 66.7%, 18.2%, 22.4%)
CIE-LABlab(50.11, 61.99, -24.41)
CIE-LCHlch(50.11, 66.62, 338.51°)
OKLaboklab(59.57% 0.1845 -0.0657)
OKLCHoklch(59.57% 0.196 340.4)
XYZxyz(31.7593, 18.5138, 36.0763)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C642A2 #42C666
analogous
#A842C6 #C642A2 #C64260
triadic
#C642A2 #A2C642 #42A2C6
tetradic
#C642A2 #C6A842 #42C666 #4260C6
square
#C642A2 #C6A842 #42C666 #4260C6
split-complementary
#C642A2 #60C642 #42C6A8
monochromatic
#6D2158 #9C2F7E #C642A2 #D471B9 #E2A0D0

Accessibility & contrast

On white

4.47
#C642A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C642A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C642A2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C642A2#FFFFFF#000000##000000
##C642A21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D1456C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c642a2;
/* rgb */ color: rgb(198, 66, 162);
/* oklch */ color: oklch(59.6% 0.196 340.4);
Tailwind
colors: {
  custom: {
    50: '#db80bd',
    500: '#c642a2',
    950: '#000000',
  },
}
SCSS
$custom: #c642a2;
$custom-light: #db80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c642a2",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 316.364,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.19587,
    "h": 340.4
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#C642A2
secondary
#95CFA5
accent
#DD734B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C642A2

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

Preview Lab → · Contrast checker → · Palette generator →

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