#C645A4#C645A4

#C645A4 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.193 H 339.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C645A4
RGBrgb(198, 69, 164)
HSLhsl(316, 53%, 52%)
HSVhsv(316, 65%, 78%)
CMYKcmyk(0%, 65.2%, 17.2%, 22.4%)
CIE-LABlab(50.62, 61.10, -24.80)
CIE-LCHlch(50.62, 65.94, 337.91°)
OKLaboklab(59.97% 0.1813 -0.0668)
OKLCHoklch(59.97% 0.193 339.8)
XYZxyz(32.1184, 18.9453, 37.0800)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A4 #45C667
analogous
#A745C6 #C645A4 #C64564
triadic
#C645A4 #A4C645 #45A4C6
tetradic
#C645A4 #C6A745 #45C667 #4564C6
square
#C645A4 #C6A745 #45C667 #4564C6
split-complementary
#C645A4 #64C645 #45C6A7
monochromatic
#6F225A #9E3081 #C645A4 #D474BB #E3A3D2

Accessibility & contrast

On white

4.39
#C645A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C645A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A4#FFFFFF#000000##000000
##C645A41.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#D1496E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c645a4;
/* rgb */ color: rgb(198, 69, 164);
/* oklch */ color: oklch(60.0% 0.193 339.8);
Tailwind
colors: {
  custom: {
    50: '#db81bf',
    500: '#c645a4',
    950: '#000000',
  },
}
SCSS
$custom: #c645a4;
$custom-light: #db81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a4",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 315.814,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.19324,
    "h": 339.8
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#C645A4
secondary
#97CFA6
accent
#DC724B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C645A4

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

Preview Lab → · Contrast checker → · Palette generator →

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