#C142A2#C142A2

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

Color values

HEX#C142A2
RGBrgb(193, 66, 162)
HSLhsl(315, 51%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 65.8%, 16.1%, 24.3%)
CIE-LABlab(49.31, 60.67, -25.72)
CIE-LCHlch(49.31, 65.90, 337.03°)
OKLaboklab(58.83% 0.1795 -0.0695)
OKLCHoklch(58.83% 0.193 338.8)
XYZxyz(30.4627, 17.8452, 36.0155)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142A2 #42C161
analogous
#A142C1 #C142A2 #C14262
triadic
#C142A2 #A2C142 #42A2C1
tetradic
#C142A2 #C1A142 #42C161 #4262C1
square
#C142A2 #C1A142 #42C161 #4262C1
split-complementary
#C142A2 #62C142 #42C1A1
monochromatic
#672256 #95317D #C142A2 #D070B9 #DF9ECF

Accessibility & contrast

On white

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

On black

4.57
#C142A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C142A2#FFFFFF#000000##FFFFFF
##C142A21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#CC476C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c142a2;
/* rgb */ color: rgb(193, 66, 162);
/* oklch */ color: oklch(58.8% 0.193 338.8);
Tailwind
colors: {
  custom: {
    50: '#d77fbd',
    500: '#c142a2',
    950: '#000000',
  },
}
SCSS
$custom: #c142a2;
$custom-light: #d77fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c142a2",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 314.646,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.1925,
    "h": 338.8
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142A2

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

Preview Lab → · Contrast checker → · Palette generator →

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