#C157A4#C157A4

#C157A4 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.163 H 339.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C157A4
RGBrgb(193, 87, 164)
HSLhsl(316, 46%, 55%)
HSVhsv(316, 55%, 76%)
CMYKcmyk(0%, 54.9%, 15%, 24.3%)
CIE-LABlab(52.77, 51.78, -21.55)
CIE-LCHlch(52.77, 56.09, 337.40°)
OKLaboklab(61.4% 0.1525 -0.0579)
OKLCHoklch(61.4% 0.163 339.2)
XYZxyz(32.1018, 20.8367, 37.4459)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157A4 #57C174
analogous
#A957C1 #C157A4 #C1576F
triadic
#C157A4 #A4C157 #57A4C1
tetradic
#C157A4 #C1A957 #57C174 #576FC1
square
#C157A4 #C1A957 #57C174 #576FC1
split-complementary
#C157A4 #6FC157 #57C1A9
monochromatic
#732A5F #A03B84 #C157A4 #D184BC #E2B0D4

Accessibility & contrast

On white

4.06
#C157A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C157A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157A4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157A4#FFFFFF#000000##000000
##C157A41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A7
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#CB5A76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c157a4;
/* rgb */ color: rgb(193, 87, 164);
/* oklch */ color: oklch(61.4% 0.163 339.2);
Tailwind
colors: {
  custom: {
    50: '#d68bbf',
    500: '#c157a4',
    950: '#000000',
  },
}
SCSS
$custom: #c157a4;
$custom-light: #d68bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c157a4",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 316.415,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.16312,
    "h": 339.2
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#C157A4
secondary
#A4D0B0
accent
#D67652
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C157A4

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

Preview Lab → · Contrast checker → · Palette generator →

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