#C645A0#C645A0

#C645A0 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.191 H 341.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C645A0
RGBrgb(198, 69, 160)
HSLhsl(318, 53%, 52%)
HSVhsv(318, 65%, 78%)
CMYKcmyk(0%, 65.2%, 19.2%, 22.4%)
CIE-LABlab(50.46, 60.53, -22.69)
CIE-LCHlch(50.46, 64.64, 339.45°)
OKLaboklab(59.8% 0.1806 -0.0609)
OKLCHoklch(59.8% 0.191 341.4)
XYZxyz(31.7628, 18.8030, 35.2074)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A0 #45C66B
analogous
#AB45C6 #C645A0 #C64560
triadic
#C645A0 #A0C645 #45A0C6
tetradic
#C645A0 #C6AB45 #45C66B #4560C6
square
#C645A0 #C6AB45 #45C66B #4560C6
split-complementary
#C645A0 #60C645 #45C6AB
monochromatic
#6F2258 #9E307D #C645A0 #D474B8 #E3A3D0

Accessibility & contrast

On white

4.41
#C645A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C645A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A0#FFFFFF#000000##000000
##C645A01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA3
Deuteranopia (green-blind)
#75809D
Tritanopia (blue-blind)
#D2476C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c645a0;
/* rgb */ color: rgb(198, 69, 160);
/* oklch */ color: oklch(59.8% 0.191 341.4);
Tailwind
colors: {
  custom: {
    50: '#db81bc',
    500: '#c645a0',
    950: '#000000',
  },
}
SCSS
$custom: #c645a0;
$custom-light: #db81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a0",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 317.674,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.19059,
    "h": 341.4
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#C645A0
secondary
#97CFA8
accent
#DC764B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C645A0

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

Preview Lab → · Contrast checker → · Palette generator →

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