#C17EA2#C17EA2

#C17EA2 is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.3% C 0.095 H 346.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#C17EA2
RGBrgb(193, 126, 162)
HSLhsl(328, 35%, 63%)
HSVhsv(328, 35%, 76%)
CMYKcmyk(0%, 34.7%, 16.1%, 24.3%)
CIE-LABlab(60.67, 31.22, -8.45)
CIE-LCHlch(60.67, 32.34, 344.86°)
OKLaboklab(67.31% 0.0923 -0.0221)
OKLCHoklch(67.31% 0.095 346.5)
XYZxyz(35.9750, 28.8698, 37.8529)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EA2 #7EC19D
analogous
#BF7EC1 #C17EA2 #C17E80
triadic
#C17EA2 #A2C17E #7EA2C1
tetradic
#C17EA2 #C1BF7E #7EC19D #7E80C1
square
#C17EA2 #C1BF7E #7EC19D #7E80C1
split-complementary
#C17EA2 #80C17E #7EC1BF
monochromatic
#854065 #AD5584 #C17EA2 #D5A7C0 #E9D1DE

Accessibility & contrast

On white

3.10
#C17EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#C17EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17EA2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EA2#FFFFFF#000000##000000
##C17EA21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#9396A0
Tritanopia (blue-blind)
#CA7D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c17ea2;
/* rgb */ color: rgb(193, 126, 162);
/* oklch */ color: oklch(67.3% 0.095 346.5);
Tailwind
colors: {
  custom: {
    50: '#d5a4bd',
    500: '#c17ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c17ea2;
$custom-light: #d5a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ea2",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 327.761,
    "s": 35.079,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.09491,
    "h": 346.5
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#C17EA2
secondary
#C1DACC
accent
#AE6E38
background
#FDFAFB
surface
#FAF4F6
border
#D3CED0
text
#140F12
muted
#837F81

Preview Lab

Preview with #C17EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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