#C645A5#C645A5

#C645A5 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.194 H 339.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C645A5
RGBrgb(198, 69, 165)
HSLhsl(315, 53%, 52%)
HSVhsv(315, 65%, 78%)
CMYKcmyk(0%, 65.2%, 16.7%, 22.4%)
CIE-LABlab(50.67, 61.24, -25.32)
CIE-LCHlch(50.67, 66.27, 337.54°)
OKLaboklab(60.02% 0.1815 -0.0683)
OKLCHoklch(60.02% 0.194 339.4)
XYZxyz(32.2090, 18.9815, 37.5575)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A5 #45C666
analogous
#A745C6 #C645A5 #C64565
triadic
#C645A5 #A5C645 #45A5C6
tetradic
#C645A5 #C6A745 #45C666 #4565C6
square
#C645A5 #C6A745 #45C666 #4565C6
split-complementary
#C645A5 #65C645 #45C6A7
monochromatic
#6F225B #9E3082 #C645A5 #D474BC #E3A3D2

Accessibility & contrast

On white

4.38
#C645A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C645A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A5#FFFFFF#000000##000000
##C645A51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CA8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#D1496F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c645a5;
/* rgb */ color: rgb(198, 69, 165);
/* oklch */ color: oklch(60.0% 0.194 339.4);
Tailwind
colors: {
  custom: {
    50: '#db82c0',
    500: '#c645a5',
    950: '#000000',
  },
}
SCSS
$custom: #c645a5;
$custom-light: #db82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a5",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 315.349,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.19393,
    "h": 339.4
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C645A5

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

Preview Lab → · Contrast checker → · Palette generator →

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