#C157AA#C157AA

#C157AA is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.168 H 336.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C157AA
RGBrgb(193, 87, 170)
HSLhsl(313, 46%, 55%)
HSVhsv(313, 55%, 76%)
CMYKcmyk(0%, 54.9%, 11.9%, 24.3%)
CIE-LABlab(53.01, 52.73, -24.69)
CIE-LCHlch(53.01, 58.22, 334.91°)
OKLaboklab(61.66% 0.1538 -0.0668)
OKLCHoklch(61.66% 0.168 336.5)
XYZxyz(32.6565, 21.0586, 40.3671)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157AA #57C16E
analogous
#A357C1 #C157AA #C15775
triadic
#C157AA #AAC157 #57AAC1
tetradic
#C157AA #C1A357 #57C16E #5775C1
square
#C157AA #C1A357 #57C16E #5775C1
split-complementary
#C157AA #75C157 #57C1A3
monochromatic
#732A63 #A03B8A #C157AA #D184C1 #E2B0D7

Accessibility & contrast

On white

4.03
#C157AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C157AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157AA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157AA#FFFFFF#000000##000000
##C157AA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5974AD
Deuteranopia (green-blind)
#7884A7
Tritanopia (blue-blind)
#CA5C79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c157aa;
/* rgb */ color: rgb(193, 87, 170);
/* oklch */ color: oklch(61.7% 0.168 336.5);
Tailwind
colors: {
  custom: {
    50: '#d68bc3',
    500: '#c157aa',
    950: '#000000',
  },
}
SCSS
$custom: #c157aa;
$custom-light: #d68bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c157aa",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 313.019,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.16763,
    "h": 336.5
  },
  "luminance": 0.21056
}

Semantic roles & 50–950 ramp

primary
#C157AA
secondary
#A4D0AD
accent
#D66F52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C157AA

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

Preview Lab → · Contrast checker → · Palette generator →

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