#C142A5#C142A5

#C142A5 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 59.0% C 0.195 H 337.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C142A5
RGBrgb(193, 66, 165)
HSLhsl(313, 51%, 51%)
HSVhsv(313, 66%, 76%)
CMYKcmyk(0%, 65.8%, 14.5%, 24.3%)
CIE-LABlab(49.44, 61.12, -27.29)
CIE-LCHlch(49.44, 66.93, 335.94°)
OKLaboklab(58.97% 0.18 -0.0739)
OKLCHoklch(58.97% 0.195 337.7)
XYZxyz(30.7326, 17.9532, 37.4367)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A5 #42C15E
analogous
#9D42C1 #C142A5 #C14265
triadic
#C142A5 #A5C142 #42A5C1
tetradic
#C142A5 #C19D42 #42C15E #4265C1
square
#C142A5 #C19D42 #42C15E #4265C1
split-complementary
#C142A5 #65C142 #42C19D
monochromatic
#672258 #95317F #C142A5 #D070BB #DF9ED1

Accessibility & contrast

On white

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

On black

4.59
#C142A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142A5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A5#FFFFFF#000000##000000
##C142A51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#6E7DA2
Tritanopia (blue-blind)
#CB486E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c142a5;
/* rgb */ color: rgb(193, 66, 165);
/* oklch */ color: oklch(59.0% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#d77fc0',
    500: '#c142a5',
    950: '#000000',
  },
}
SCSS
$custom: #c142a5;
$custom-light: #d77fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a5",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 313.228,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.19458,
    "h": 337.7
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142A5

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

Preview Lab → · Contrast checker → · Palette generator →

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