#C142A8#C142A8

#C142A8 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.197 H 336.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C142A8
RGBrgb(193, 66, 168)
HSLhsl(312, 51%, 51%)
HSVhsv(312, 66%, 76%)
CMYKcmyk(0%, 65.8%, 13%, 24.3%)
CIE-LABlab(49.57, 61.56, -28.85)
CIE-LCHlch(49.57, 67.99, 334.89°)
OKLaboklab(59.11% 0.1804 -0.0784)
OKLCHoklch(59.11% 0.197 336.5)
XYZxyz(31.0088, 18.0637, 38.8917)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A8 #42C15B
analogous
#9A42C1 #C142A8 #C14268
triadic
#C142A8 #A8C142 #42A8C1
tetradic
#C142A8 #C19A42 #42C15B #4268C1
square
#C142A8 #C19A42 #42C15B #4268C1
split-complementary
#C142A8 #68C142 #42C19A
monochromatic
#672259 #953181 #C142A8 #D070BD #DF9ED2

Accessibility & contrast

On white

4.55
#C142A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C142A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142A8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A8#FFFFFF#000000##000000
##C142A81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAB
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#CB496F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c142a8;
/* rgb */ color: rgb(193, 66, 168);
/* oklch */ color: oklch(59.1% 0.197 336.5);
Tailwind
colors: {
  custom: {
    50: '#d780c2',
    500: '#c142a8',
    950: '#000000',
  },
}
SCSS
$custom: #c142a8;
$custom-light: #d780c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a8",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 311.811,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.19672,
    "h": 336.5
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#C142A8
secondary
#93CC9E
accent
#DA694E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A8

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

Preview Lab → · Contrast checker → · Palette generator →

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