#C142AC#C142AC

#C142AC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.3% C 0.200 H 335.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C142AC
RGBrgb(193, 66, 172)
HSLhsl(310, 51%, 51%)
HSVhsv(310, 66%, 76%)
CMYKcmyk(0%, 65.8%, 10.9%, 24.3%)
CIE-LABlab(49.76, 62.17, -30.92)
CIE-LCHlch(49.76, 69.43, 333.56°)
OKLaboklab(59.3% 0.181 -0.0843)
OKLCHoklch(59.3% 0.2 335)
XYZxyz(31.3872, 18.2150, 40.8845)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142AC #42C157
analogous
#9642C1 #C142AC #C1426C
triadic
#C142AC #ACC142 #42ACC1
tetradic
#C142AC #C19642 #42C157 #426CC1
square
#C142AC #C19642 #42C157 #426CC1
split-complementary
#C142AC #6CC142 #42C196
monochromatic
#67225B #953184 #C142AC #D070C0 #DF9ED4

Accessibility & contrast

On white

4.52
#C142AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C142AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142AC#FFFFFF#000000##000000
##C142AC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#6C7DA9
Tritanopia (blue-blind)
#CA4B71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c142ac;
/* rgb */ color: rgb(193, 66, 172);
/* oklch */ color: oklch(59.3% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#d780c5',
    500: '#c142ac',
    950: '#000000',
  },
}
SCSS
$custom: #c142ac;
$custom-light: #d780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c142ac",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 309.921,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.19962,
    "h": 335
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#C142AC
secondary
#93CC9D
accent
#DA654E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C142AC

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

Preview Lab → · Contrast checker → · Palette generator →

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