#C173AF#C173AF

#C173AF is a light, vivid pink. Relative luminance 0.267; OKLCH L 66.0% C 0.124 H 335.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C173AF
RGBrgb(193, 115, 175)
HSLhsl(314, 39%, 60%)
HSVhsv(314, 40%, 76%)
CMYKcmyk(0%, 40.4%, 9.3%, 24.3%)
CIE-LABlab(58.69, 39.35, -18.87)
CIE-LCHlch(58.69, 43.64, 334.37°)
OKLaboklab(65.96% 0.1136 -0.0507)
OKLCHoklch(65.96% 0.124 335.9)
XYZxyz(35.8608, 26.6961, 43.8131)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173AF #73C185
analogous
#AC73C1 #C173AF #C17388
triadic
#C173AF #AFC173 #73AFC1
tetradic
#C173AF #C1AC73 #73C185 #7388C1
square
#C173AF #C1AC73 #73C185 #7388C1
split-complementary
#C173AF #88C173 #73C1AC
monochromatic
#813970 #AB4C95 #C173AF #D49DC7 #E7C8DF

Accessibility & contrast

On white

3.31
#C173AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C173AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173AF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173AF#FFFFFF#000000##000000
##C173AF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#8891AD
Tritanopia (blue-blind)
#C87689
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c173af;
/* rgb */ color: rgb(193, 115, 175);
/* oklch */ color: oklch(66.0% 0.124 335.9);
Tailwind
colors: {
  custom: {
    50: '#d59dc7',
    500: '#c173af',
    950: '#000000',
  },
}
SCSS
$custom: #c173af;
$custom-light: #d59dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c173af",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 313.846,
    "s": 38.614,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65963,
    "c": 0.12438,
    "h": 335.9
  },
  "luminance": 0.26694
}

Semantic roles & 50–950 ramp

primary
#C173AF
secondary
#B9D7C0
accent
#B25134
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C173AF

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

Preview Lab → · Contrast checker → · Palette generator →

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