#C142AB#C142AB

#C142AB is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.3% C 0.199 H 335.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C142AB
RGBrgb(193, 66, 171)
HSLhsl(310, 51%, 51%)
HSVhsv(310, 66%, 76%)
CMYKcmyk(0%, 65.8%, 11.4%, 24.3%)
CIE-LABlab(49.71, 62.02, -30.40)
CIE-LCHlch(49.71, 69.07, 333.89°)
OKLaboklab(59.25% 0.1808 -0.0828)
OKLCHoklch(59.25% 0.199 335.4)
XYZxyz(31.2916, 18.1768, 40.3806)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142AB #42C158
analogous
#9842C1 #C142AB #C1426B
triadic
#C142AB #ABC142 #42ABC1
tetradic
#C142AB #C19842 #42C158 #426BC1
square
#C142AB #C19842 #42C158 #426BC1
split-complementary
#C142AB #6BC142 #42C198
monochromatic
#67225B #953184 #C142AB #D070BF #DF9ED4

Accessibility & contrast

On white

4.53
#C142AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C142AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142AB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142AB#FFFFFF#000000##000000
##C142AB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#CA4A71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c142ab;
/* rgb */ color: rgb(193, 66, 171);
/* oklch */ color: oklch(59.3% 0.199 335.4);
Tailwind
colors: {
  custom: {
    50: '#d780c4',
    500: '#c142ab',
    950: '#000000',
  },
}
SCSS
$custom: #c142ab;
$custom-light: #d780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c142ab",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 310.394,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59252,
    "c": 0.19889,
    "h": 335.4
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#C142AB
secondary
#93CC9D
accent
#DA664E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142AB

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

Preview Lab → · Contrast checker → · Palette generator →

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