#C17BA2#C17BA2

#C17BA2 is a light, moderate pink. Relative luminance 0.281; OKLCH L 66.8% C 0.100 H 345.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C17BA2
RGBrgb(193, 123, 162)
HSLhsl(327, 36%, 62%)
HSVhsv(327, 36%, 76%)
CMYKcmyk(0%, 36.3%, 16.1%, 24.3%)
CIE-LABlab(59.99, 32.86, -9.45)
CIE-LCHlch(59.99, 34.19, 343.95°)
OKLaboklab(66.8% 0.0971 -0.0248)
OKLCHoklch(66.8% 0.1 345.6)
XYZxyz(35.5971, 28.1140, 37.7270)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BA2 #7BC19A
analogous
#BD7BC1 #C17BA2 #C17B7F
triadic
#C17BA2 #A2C17B #7BA2C1
tetradic
#C17BA2 #C1BD7B #7BC19A #7B7FC1
square
#C17BA2 #C1BD7B #7BC19A #7B7FC1
split-complementary
#C17BA2 #7FC17B #7BC1BD
monochromatic
#843E65 #AD5185 #C17BA2 #D5A5BF #E8CEDD

Accessibility & contrast

On white

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

On black

6.62
#C17BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17BA2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BA2#FFFFFF#000000##000000
##C17BA21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#9195A0
Tritanopia (blue-blind)
#CA7A89
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c17ba2;
/* rgb */ color: rgb(193, 123, 162);
/* oklch */ color: oklch(66.8% 0.100 345.6);
Tailwind
colors: {
  custom: {
    50: '#d5a2bd',
    500: '#c17ba2',
    950: '#000000',
  },
}
SCSS
$custom: #c17ba2;
$custom-light: #d5a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ba2",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 326.571,
    "s": 36.082,
    "l": 61.961
  },
  "oklch": {
    "l": 0.668,
    "c": 0.10022,
    "h": 345.6
  },
  "luminance": 0.28112
}

Semantic roles & 50–950 ramp

primary
#C17BA2
secondary
#BFD9CA
accent
#AF6C37
background
#FDFAFB
surface
#FAF3F6
border
#D3CDD0
text
#140F12
muted
#837F81

Preview Lab

Preview with #C17BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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