#C18DB7#C18DB7

#C18DB7 is a light, moderate pink. Relative luminance 0.338; OKLCH L 70.7% C 0.084 H 333.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C18DB7
RGBrgb(193, 141, 183)
HSLhsl(312, 30%, 65%)
HSVhsv(312, 27%, 76%)
CMYKcmyk(0%, 26.9%, 5.2%, 24.3%)
CIE-LABlab(64.81, 26.58, -14.15)
CIE-LCHlch(64.81, 30.11, 331.96°)
OKLaboklab(70.7% 0.0755 -0.0378)
OKLCHoklch(70.7% 0.084 333.4)
XYZxyz(40.0639, 33.8075, 49.2057)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18DB7 #8DC197
analogous
#B18DC1 #C18DB7 #C18D9D
triadic
#C18DB7 #B7C18D #8DB7C1
tetradic
#C18DB7 #C1B18D #8DC197 #8D9DC1
square
#C18DB7 #C1B18D #8DC197 #8D9DC1
split-complementary
#C18DB7 #9DC18D #8DC1B1
monochromatic
#894B7D #AB659E #C18DB7 #D7B5D0 #ECDCE9

Accessibility & contrast

On white

2.71
#C18DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C18DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18DB7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18DB7#FFFFFF#000000##000000
##C18DB71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D99B9
Deuteranopia (green-blind)
#99A0B5
Tritanopia (blue-blind)
#C68F9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c18db7;
/* rgb */ color: rgb(193, 141, 183);
/* oklch */ color: oklch(70.7% 0.084 333.4);
Tailwind
colors: {
  custom: {
    50: '#d4afcc',
    500: '#c18db7',
    950: '#000000',
  },
}
SCSS
$custom: #c18db7;
$custom-light: #d4afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#c18db7",
  "rgb": {
    "r": 193,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 311.538,
    "s": 29.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.08443,
    "h": 333.4
  },
  "luminance": 0.33806
}

Semantic roles & 50–950 ramp

primary
#C18DB7
secondary
#CCDED0
accent
#A8523D
background
#FDFAFC
surface
#FAF4F8
border
#D3CED1
text
#141013
muted
#837F82

Preview Lab

Preview with #C18DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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