#C138AA#C138AA

#C138AA is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.210 H 335.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C138AA
RGBrgb(193, 56, 170)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 71%, 11.9%, 24.3%)
CIE-LABlab(48.35, 65.55, -31.94)
CIE-LCHlch(48.35, 72.92, 334.03°)
OKLaboklab(58.25% 0.1916 -0.0871)
OKLCHoklch(58.25% 0.21 335.6)
XYZxyz(30.6626, 17.0708, 39.7025)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AA #38C14F
analogous
#9438C1 #C138AA #C13866
triadic
#C138AA #AAC138 #38AAC1
tetradic
#C138AA #C19438 #38C14F #3866C1
square
#C138AA #C19438 #38C14F #3866C1
split-complementary
#C138AA #66C138 #38C194
monochromatic
#621C56 #922A80 #C138AA #D264C0 #E094D3

Accessibility & contrast

On white

4.76
#C138AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C138AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AA#FFFFFF#000000##FFFFFF
##C138AA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#CB426D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138aa;
/* rgb */ color: rgb(193, 56, 170);
/* oklch */ color: oklch(58.3% 0.210 335.6);
Tailwind
colors: {
  custom: {
    50: '#d77bc3',
    500: '#c138aa',
    950: '#000000',
  },
}
SCSS
$custom: #c138aa;
$custom-light: #d77bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c138aa",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 310.073,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.21049,
    "h": 335.6
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#C138AA
secondary
#8ACB95
accent
#DE6249
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138AA

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

Preview Lab → · Contrast checker → · Palette generator →

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