#C645AF#C645AF

#C645AF is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.201 H 335.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C645AF
RGBrgb(198, 69, 175)
HSLhsl(311, 53%, 52%)
HSVhsv(311, 65%, 78%)
CMYKcmyk(0%, 65.2%, 11.6%, 22.4%)
CIE-LABlab(51.11, 62.72, -30.51)
CIE-LCHlch(51.11, 69.75, 334.06°)
OKLaboklab(60.48% 0.183 -0.083)
OKLCHoklch(60.48% 0.201 335.6)
XYZxyz(33.1551, 19.3599, 42.5398)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645AF #45C65C
analogous
#9D45C6 #C645AF #C6456E
triadic
#C645AF #AFC645 #45AFC6
tetradic
#C645AF #C69D45 #45C65C #456EC6
square
#C645AF #C69D45 #45C65C #456EC6
split-complementary
#C645AF #6EC645 #45C69D
monochromatic
#6F2261 #9E308A #C645AF #D474C3 #E3A3D7

Accessibility & contrast

On white

4.31
#C645AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C645AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645AF#FFFFFF#000000##000000
##C645AF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D04D74
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c645af;
/* rgb */ color: rgb(198, 69, 175);
/* oklch */ color: oklch(60.5% 0.201 335.6);
Tailwind
colors: {
  custom: {
    50: '#db82c7',
    500: '#c645af',
    950: '#000000',
  },
}
SCSS
$custom: #c645af;
$custom-light: #db82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c645af",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 310.698,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.20099,
    "h": 335.6
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#C645AF
secondary
#97CFA1
accent
#DC654B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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