#C645A3#C645A3

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

Color values

HEX#C645A3
RGBrgb(198, 69, 163)
HSLhsl(316, 53%, 52%)
HSVhsv(316, 65%, 78%)
CMYKcmyk(0%, 65.2%, 17.7%, 22.4%)
CIE-LABlab(50.58, 60.95, -24.27)
CIE-LCHlch(50.58, 65.61, 338.29°)
OKLaboklab(59.93% 0.1811 -0.0653)
OKLCHoklch(59.93% 0.193 340.2)
XYZxyz(32.0284, 18.9093, 36.6063)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A3 #45C668
analogous
#A845C6 #C645A3 #C64563
triadic
#C645A3 #A3C645 #45A3C6
tetradic
#C645A3 #C6A845 #45C668 #4563C6
square
#C645A3 #C6A845 #45C668 #4563C6
split-complementary
#C645A3 #63C645 #45C6A8
monochromatic
#6F225A #9E3080 #C645A3 #D474BA #E3A3D1

Accessibility & contrast

On white

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

On black

4.78
#C645A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A3#FFFFFF#000000##000000
##C645A31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#D1486E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c645a3;
/* rgb */ color: rgb(198, 69, 163);
/* oklch */ color: oklch(59.9% 0.193 340.2);
Tailwind
colors: {
  custom: {
    50: '#db81be',
    500: '#c645a3',
    950: '#000000',
  },
}
SCSS
$custom: #c645a3;
$custom-light: #db81be;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a3",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 316.279,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.19257,
    "h": 340.2
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#C645A3
secondary
#97CFA7
accent
#DC734B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C645A3

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

Preview Lab → · Contrast checker → · Palette generator →

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