#C142A3#C142A3

#C142A3 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.193 H 338.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C142A3
RGBrgb(193, 66, 163)
HSLhsl(314, 51%, 51%)
HSVhsv(314, 66%, 76%)
CMYKcmyk(0%, 65.8%, 15.5%, 24.3%)
CIE-LABlab(49.35, 60.82, -26.24)
CIE-LCHlch(49.35, 66.24, 336.66°)
OKLaboklab(58.87% 0.1797 -0.071)
OKLCHoklch(58.87% 0.193 338.4)
XYZxyz(30.5520, 17.8809, 36.4855)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A3 #42C160
analogous
#9F42C1 #C142A3 #C14263
triadic
#C142A3 #A3C142 #42A3C1
tetradic
#C142A3 #C19F42 #42C160 #4263C1
square
#C142A3 #C19F42 #42C160 #4263C1
split-complementary
#C142A3 #63C142 #42C19F
monochromatic
#672257 #95317D #C142A3 #D070B9 #DF9ED0

Accessibility & contrast

On white

4.59
#C142A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C142A3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A3#FFFFFF#000000##FFFFFF
##C142A31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c142a3;
/* rgb */ color: rgb(193, 66, 163);
/* oklch */ color: oklch(58.9% 0.193 338.4);
Tailwind
colors: {
  custom: {
    50: '#d77fbe',
    500: '#c142a3',
    950: '#000000',
  },
}
SCSS
$custom: #c142a3;
$custom-light: #d77fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a3",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 314.173,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.19318,
    "h": 338.4
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#C142A3
secondary
#93CCA1
accent
#DA6F4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A3

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

Preview Lab → · Contrast checker → · Palette generator →

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