#C17AAA#C17AAA

#C17AAA is a light, moderate pink. Relative luminance 0.282; OKLCH L 66.9% C 0.108 H 339.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#C17AAA
RGBrgb(193, 122, 170)
HSLhsl(319, 36%, 62%)
HSVhsv(319, 37%, 76%)
CMYKcmyk(0%, 36.8%, 11.9%, 24.3%)
CIE-LABlab(60.03, 34.73, -13.97)
CIE-LCHlch(60.03, 37.43, 338.08°)
OKLaboklab(66.92% 0.1012 -0.0372)
OKLCHoklch(66.92% 0.108 339.8)
XYZxyz(36.2076, 28.1608, 41.5508)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AAA #7AC191
analogous
#B57AC1 #C17AAA #C17A87
triadic
#C17AAA #AAC17A #7AAAC1
tetradic
#C17AAA #C1B57A #7AC191 #7A87C1
square
#C17AAA #C1B57A #7AC191 #7A87C1
split-complementary
#C17AAA #87C17A #7AC1B5
monochromatic
#833D6D #AD518F #C17AAA #D4A4C5 #E8CDDF

Accessibility & contrast

On white

3.17
#C17AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#C17AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17AAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AAA#FFFFFF#000000##000000
##C17AAA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAC
Deuteranopia (green-blind)
#8E95A8
Tritanopia (blue-blind)
#C97B8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c17aaa;
/* rgb */ color: rgb(193, 122, 170);
/* oklch */ color: oklch(66.9% 0.108 339.8);
Tailwind
colors: {
  custom: {
    50: '#d5a1c3',
    500: '#c17aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c17aaa;
$custom-light: #d5a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aaa",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 319.437,
    "s": 36.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.10784,
    "h": 339.8
  },
  "luminance": 0.28159
}

Semantic roles & 50–950 ramp

primary
#C17AAA
secondary
#BED9C7
accent
#AF5D36
background
#FDFAFC
surface
#FAF3F8
border
#D3CDD1
text
#140F12
muted
#837F81

Preview Lab

Preview with #C17AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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