#C142A7#C142A7

#C142A7 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.196 H 336.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C142A7
RGBrgb(193, 66, 167)
HSLhsl(312, 51%, 51%)
HSVhsv(312, 66%, 76%)
CMYKcmyk(0%, 65.8%, 13.5%, 24.3%)
CIE-LABlab(49.53, 61.41, -28.33)
CIE-LCHlch(49.53, 67.63, 335.24°)
OKLaboklab(59.06% 0.1803 -0.0769)
OKLCHoklch(59.06% 0.196 336.9)
XYZxyz(30.9160, 18.0266, 38.4029)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A7 #42C15C
analogous
#9B42C1 #C142A7 #C14267
triadic
#C142A7 #A7C142 #42A7C1
tetradic
#C142A7 #C19B42 #42C15C #4267C1
square
#C142A7 #C19B42 #42C15C #4267C1
split-complementary
#C142A7 #67C142 #42C19B
monochromatic
#672259 #953180 #C142A7 #D070BC #DF9ED2

Accessibility & contrast

On white

4.56
#C142A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C142A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142A7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A7#FFFFFF#000000##000000
##C142A71.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#CB496F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c142a7;
/* rgb */ color: rgb(193, 66, 167);
/* oklch */ color: oklch(59.1% 0.196 336.9);
Tailwind
colors: {
  custom: {
    50: '#d780c1',
    500: '#c142a7',
    950: '#000000',
  },
}
SCSS
$custom: #c142a7;
$custom-light: #d780c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a7",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 312.283,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.196,
    "h": 336.9
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#C142A7
secondary
#93CC9F
accent
#DA6A4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A7

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

Preview Lab → · Contrast checker → · Palette generator →

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