#C157AD#C157AD

#C157AD is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.8% C 0.170 H 335.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C157AD
RGBrgb(193, 87, 173)
HSLhsl(311, 46%, 55%)
HSVhsv(311, 55%, 76%)
CMYKcmyk(0%, 54.9%, 10.4%, 24.3%)
CIE-LABlab(53.14, 53.21, -26.24)
CIE-LCHlch(53.14, 59.33, 333.75°)
OKLaboklab(61.79% 0.1543 -0.0712)
OKLCHoklch(61.79% 0.17 335.2)
XYZxyz(32.9435, 21.1734, 41.8788)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157AD #57C16B
analogous
#A057C1 #C157AD #C15778
triadic
#C157AD #ADC157 #57ADC1
tetradic
#C157AD #C1A057 #57C16B #5778C1
square
#C157AD #C1A057 #57C16B #5778C1
split-complementary
#C157AD #78C157 #57C1A0
monochromatic
#732A65 #A03B8D #C157AD #D184C3 #E2B0D9

Accessibility & contrast

On white

4.01
#C157AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C157AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157AD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157AD#FFFFFF#000000##000000
##C157AD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B0
Deuteranopia (green-blind)
#7685AA
Tritanopia (blue-blind)
#CA5D7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c157ad;
/* rgb */ color: rgb(193, 87, 173);
/* oklch */ color: oklch(61.8% 0.170 335.2);
Tailwind
colors: {
  custom: {
    50: '#d68bc5',
    500: '#c157ad',
    950: '#000000',
  },
}
SCSS
$custom: #c157ad;
$custom-light: #d68bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ad",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 311.321,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.16996,
    "h": 335.2
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#C157AD
secondary
#A4D0AC
accent
#D66B52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C157AD

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

Preview Lab → · Contrast checker → · Palette generator →

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