#C945A7#C945A7

#C945A7 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.197 H 339.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C945A7
RGBrgb(201, 69, 167)
HSLhsl(315, 55%, 53%)
HSVhsv(315, 66%, 79%)
CMYKcmyk(0%, 65.7%, 16.9%, 21.2%)
CIE-LABlab(51.23, 62.32, -25.59)
CIE-LCHlch(51.23, 67.37, 337.68°)
OKLaboklab(60.55% 0.1848 -0.069)
OKLCHoklch(60.55% 0.197 339.5)
XYZxyz(33.1913, 19.4668, 38.5611)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945A7 #45C967
analogous
#A945C9 #C945A7 #C94565
triadic
#C945A7 #A7C945 #45A7C9
tetradic
#C945A7 #C9A945 #45C967 #4565C9
square
#C945A7 #C9A945 #45C967 #4565C9
split-complementary
#C945A7 #65C945 #45C9A9
monochromatic
#72215D #A22F84 #C945A7 #D774BD #E5A4D4

Accessibility & contrast

On white

4.29
#C945A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C945A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945A7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945A7#FFFFFF#000000##000000
##C945A71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#D44970
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c945a7;
/* rgb */ color: rgb(201, 69, 167);
/* oklch */ color: oklch(60.5% 0.197 339.5);
Tailwind
colors: {
  custom: {
    50: '#dd82c1',
    500: '#c945a7',
    950: '#000000',
  },
}
SCSS
$custom: #c945a7;
$custom-light: #dd82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c945a7",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 315.455,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.19732,
    "h": 339.5
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#C945A7
secondary
#98D1A7
accent
#DE7049
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #C945A7

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

Preview Lab → · Contrast checker → · Palette generator →

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