#C142A4#C142A4

#C142A4 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.194 H 338.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C142A4
RGBrgb(193, 66, 164)
HSLhsl(314, 51%, 51%)
HSVhsv(314, 66%, 76%)
CMYKcmyk(0%, 65.8%, 15%, 24.3%)
CIE-LABlab(49.40, 60.97, -26.76)
CIE-LCHlch(49.40, 66.58, 336.30°)
OKLaboklab(58.92% 0.1798 -0.0724)
OKLCHoklch(58.92% 0.194 338.1)
XYZxyz(30.6419, 17.9169, 36.9593)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A4 #42C15F
analogous
#9F42C1 #C142A4 #C14264
triadic
#C142A4 #A4C142 #42A4C1
tetradic
#C142A4 #C19F42 #42C15F #4264C1
square
#C142A4 #C19F42 #42C15F #4264C1
split-complementary
#C142A4 #64C142 #42C19F
monochromatic
#672257 #95317E #C142A4 #D070BA #DF9ED0

Accessibility & contrast

On white

4.58
#C142A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C142A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142A4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A4#FFFFFF#000000##000000
##C142A41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#CB476D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c142a4;
/* rgb */ color: rgb(193, 66, 164);
/* oklch */ color: oklch(58.9% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#d77fbf',
    500: '#c142a4',
    950: '#000000',
  },
}
SCSS
$custom: #c142a4;
$custom-light: #d77fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a4",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 313.701,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.19389,
    "h": 338.1
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#C142A4
secondary
#93CCA0
accent
#DA6E4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A4

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

Preview Lab → · Contrast checker → · Palette generator →

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