#C645A7#C645A7

#C645A7 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.195 H 338.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C645A7
RGBrgb(198, 69, 167)
HSLhsl(314, 53%, 52%)
HSVhsv(314, 65%, 78%)
CMYKcmyk(0%, 65.2%, 15.7%, 22.4%)
CIE-LABlab(50.75, 61.53, -26.37)
CIE-LCHlch(50.75, 66.94, 336.80°)
OKLaboklab(60.11% 0.1818 -0.0713)
OKLCHoklch(60.11% 0.195 338.6)
XYZxyz(32.3925, 19.0549, 38.5237)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A7 #45C664
analogous
#A545C6 #C645A7 #C64566
triadic
#C645A7 #A7C645 #45A7C6
tetradic
#C645A7 #C6A545 #45C664 #4566C6
square
#C645A7 #C6A545 #45C664 #4566C6
split-complementary
#C645A7 #66C645 #45C6A5
monochromatic
#6F225C #9E3083 #C645A7 #D474BD #E3A3D3

Accessibility & contrast

On white

4.37
#C645A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C645A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A7#FFFFFF#000000##000000
##C645A71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D14A70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c645a7;
/* rgb */ color: rgb(198, 69, 167);
/* oklch */ color: oklch(60.1% 0.195 338.6);
Tailwind
colors: {
  custom: {
    50: '#db82c1',
    500: '#c645a7',
    950: '#000000',
  },
}
SCSS
$custom: #c645a7;
$custom-light: #db82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a7",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 314.419,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.1953,
    "h": 338.6
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

primary
#C645A7
secondary
#97CFA5
accent
#DC6E4B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C645A7

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

Preview Lab → · Contrast checker → · Palette generator →

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