#C142A9#C142A9

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

Color values

HEX#C142A9
RGBrgb(193, 66, 169)
HSLhsl(311, 51%, 51%)
HSVhsv(311, 66%, 76%)
CMYKcmyk(0%, 65.8%, 12.4%, 24.3%)
CIE-LABlab(49.62, 61.71, -29.37)
CIE-LCHlch(49.62, 68.34, 334.55°)
OKLaboklab(59.16% 0.1806 -0.0798)
OKLCHoklch(59.16% 0.197 336.1)
XYZxyz(31.1024, 18.1011, 39.3842)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A9 #42C15A
analogous
#9A42C1 #C142A9 #C14269
triadic
#C142A9 #A9C142 #42A9C1
tetradic
#C142A9 #C19A42 #42C15A #4269C1
square
#C142A9 #C19A42 #42C15A #4269C1
split-complementary
#C142A9 #69C142 #42C19A
monochromatic
#67225A #953182 #C142A9 #D070BE #DF9ED3

Accessibility & contrast

On white

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

On black

4.62
#C142A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142A9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A9#FFFFFF#000000##000000
##C142A91.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#6D7DA6
Tritanopia (blue-blind)
#CB4970
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c142a9;
/* rgb */ color: rgb(193, 66, 169);
/* oklch */ color: oklch(59.2% 0.197 336.1);
Tailwind
colors: {
  custom: {
    50: '#d780c3',
    500: '#c142a9',
    950: '#000000',
  },
}
SCSS
$custom: #c142a9;
$custom-light: #d780c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a9",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 311.339,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.19743,
    "h": 336.1
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#C142A9
secondary
#93CC9E
accent
#DA684E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A9

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

Preview Lab → · Contrast checker → · Palette generator →

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