#C170AA#C170AA

#C170AA is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.3% C 0.126 H 338.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#C170AA
RGBrgb(193, 112, 170)
HSLhsl(317, 40%, 60%)
HSVhsv(317, 42%, 76%)
CMYKcmyk(0%, 42%, 11.9%, 24.3%)
CIE-LABlab(57.88, 40.10, -17.24)
CIE-LCHlch(57.88, 43.65, 336.73°)
OKLaboklab(65.29% 0.1168 -0.0461)
OKLCHoklch(65.29% 0.126 338.4)
XYZxyz(35.0423, 25.8302, 41.1624)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AA #70C187
analogous
#AF70C1 #C170AA #C17082
triadic
#C170AA #AAC170 #70AAC1
tetradic
#C170AA #C1AF70 #70C187 #7082C1
square
#C170AA #C1AF70 #70C187 #7082C1
split-complementary
#C170AA #82C170 #70C1AF
monochromatic
#7F376B #AA4A8F #C170AA #D49BC3 #E6C5DD

Accessibility & contrast

On white

3.41
#C170AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#C170AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170AA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170AA#FFFFFF#000000##000000
##C170AA1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#8790A8
Tritanopia (blue-blind)
#C97286
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170aa;
/* rgb */ color: rgb(193, 112, 170);
/* oklch */ color: oklch(65.3% 0.126 338.4);
Tailwind
colors: {
  custom: {
    50: '#d59bc3',
    500: '#c170aa',
    950: '#000000',
  },
}
SCSS
$custom: #c170aa;
$custom-light: #d59bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c170aa",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 317.037,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65289,
    "c": 0.1256,
    "h": 338.4
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

primary
#C170AA
secondary
#B7D6C0
accent
#CF7A58
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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