#C17BB2#C17BB2

#C17BB2 is a light, moderate pink. Relative luminance 0.287; OKLCH L 67.4% C 0.113 H 334.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#C17BB2
RGBrgb(193, 123, 178)
HSLhsl(313, 36%, 62%)
HSVhsv(313, 36%, 76%)
CMYKcmyk(0%, 36.3%, 7.8%, 24.3%)
CIE-LABlab(60.53, 35.56, -17.79)
CIE-LCHlch(60.53, 39.76, 333.42°)
OKLaboklab(67.39% 0.102 -0.0478)
OKLCHoklch(67.39% 0.113 334.9)
XYZxyz(37.1109, 28.7196, 45.6995)
Luminance0.2872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BB2 #7BC18A
analogous
#AD7BC1 #C17BB2 #C17B8F
triadic
#C17BB2 #B2C17B #7BB2C1
tetradic
#C17BB2 #C1AD7B #7BC18A #7B8FC1
square
#C17BB2 #C1AD7B #7BC18A #7B8FC1
split-complementary
#C17BB2 #8FC17B #7BC1AD
monochromatic
#843E75 #AD519A #C17BB2 #D5A5CA #E8CEE3

Accessibility & contrast

On white

3.11
#C17BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#C17BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17BB2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BB2#FFFFFF#000000##000000
##C17BB21.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB4
Deuteranopia (green-blind)
#8D96B0
Tritanopia (blue-blind)
#C87E8F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c17bb2;
/* rgb */ color: rgb(193, 123, 178);
/* oklch */ color: oklch(67.4% 0.113 334.9);
Tailwind
colors: {
  custom: {
    50: '#d5a2c9',
    500: '#c17bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c17bb2;
$custom-light: #d5a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bb2",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 312.857,
    "s": 36.082,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.11266,
    "h": 334.9
  },
  "luminance": 0.28718
}

Semantic roles & 50–950 ramp

primary
#C17BB2
secondary
#BFD9C5
accent
#AF5037
background
#FDFAFC
surface
#FAF4F8
border
#D3CED1
text
#140F13
muted
#837F82

Preview Lab

Preview with #C17BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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