#C142A1#C142A1

#C142A1 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.192 H 339.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C142A1
RGBrgb(193, 66, 161)
HSLhsl(315, 51%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 65.8%, 16.6%, 24.3%)
CIE-LABlab(49.26, 60.53, -25.19)
CIE-LCHlch(49.26, 65.56, 337.40°)
OKLaboklab(58.78% 0.1794 -0.068)
OKLCHoklch(58.78% 0.192 339.2)
XYZxyz(30.3742, 17.8098, 35.5492)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A1 #42C162
analogous
#A142C1 #C142A1 #C14261
triadic
#C142A1 #A1C142 #42A1C1
tetradic
#C142A1 #C1A142 #42C162 #4261C1
square
#C142A1 #C1A142 #42C162 #4261C1
split-complementary
#C142A1 #61C142 #42C1A1
monochromatic
#672255 #95317C #C142A1 #D070B8 #DF9ECF

Accessibility & contrast

On white

4.60
#C142A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C142A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C142A1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142A1#FFFFFF#000000##FFFFFF
##C142A11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#707C9E
Tritanopia (blue-blind)
#CC466C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c142a1;
/* rgb */ color: rgb(193, 66, 161);
/* oklch */ color: oklch(58.8% 0.192 339.2);
Tailwind
colors: {
  custom: {
    50: '#d77fbd',
    500: '#c142a1',
    950: '#000000',
  },
}
SCSS
$custom: #c142a1;
$custom-light: #d77fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a1",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 315.118,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.1918,
    "h": 339.2
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#C142A1
secondary
#93CCA1
accent
#DA714E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C142A1

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

Preview Lab → · Contrast checker → · Palette generator →

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