#C645A2#C645A2

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

Color values

HEX#C645A2
RGBrgb(198, 69, 162)
HSLhsl(317, 53%, 52%)
HSVhsv(317, 65%, 78%)
CMYKcmyk(0%, 65.2%, 18.2%, 22.4%)
CIE-LABlab(50.54, 60.81, -23.75)
CIE-LCHlch(50.54, 65.28, 338.67°)
OKLaboklab(59.88% 0.181 -0.0639)
OKLCHoklch(59.88% 0.192 340.6)
XYZxyz(31.9392, 18.8736, 36.1363)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645A2 #45C669
analogous
#A945C6 #C645A2 #C64562
triadic
#C645A2 #A2C645 #45A2C6
tetradic
#C645A2 #C6A945 #45C669 #4562C6
square
#C645A2 #C6A945 #45C669 #4562C6
split-complementary
#C645A2 #62C645 #45C6A9
monochromatic
#6F2259 #9E307F #C645A2 #D474B9 #E3A3D1

Accessibility & contrast

On white

4.40
#C645A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C645A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645A2#FFFFFF#000000##000000
##C645A21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D1486D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c645a2;
/* rgb */ color: rgb(198, 69, 162);
/* oklch */ color: oklch(59.9% 0.192 340.6);
Tailwind
colors: {
  custom: {
    50: '#db81bd',
    500: '#c645a2',
    950: '#000000',
  },
}
SCSS
$custom: #c645a2;
$custom-light: #db81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c645a2",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 316.744,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.1919,
    "h": 340.6
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#C645A2
secondary
#97CFA7
accent
#DC744B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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