#C142C2#C142C2

#C142C2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 327.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C142C2
RGBrgb(193, 66, 194)
HSLhsl(300, 51%, 51%)
HSVhsv(300, 66%, 76%)
CMYKcmyk(0.5%, 66%, 0%, 23.9%)
CIE-LABlab(50.84, 65.71, -42.03)
CIE-LCHlch(50.84, 78.00, 327.39°)
OKLaboklab(60.44% 0.1827 -0.1163)
OKLCHoklch(60.44% 0.217 327.5)
XYZxyz(33.6776, 19.1312, 52.9473)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142C2 #43C242
analogous
#8142C2 #C142C2 #C24283
triadic
#C142C2 #C2C142 #42C2C1
tetradic
#C142C2 #C28142 #43C242 #4283C2
square
#C142C2 #C28142 #43C242 #4283C2
split-complementary
#C142C2 #83C242 #42C281
monochromatic
#672268 #953196 #C142C2 #D070D1 #DF9FE0

Accessibility & contrast

On white

4.35
#C142C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C142C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142C2#FFFFFF#000000##000000
##C142C21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC6
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#C7547D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c142c2;
/* rgb */ color: rgb(193, 66, 194);
/* oklch */ color: oklch(60.4% 0.217 327.5);
Tailwind
colors: {
  custom: {
    50: '#d780d5',
    500: '#c142c2',
    950: '#000000',
  },
}
SCSS
$custom: #c142c2;
$custom-light: #d780d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c142c2",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 299.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.21658,
    "h": 327.5
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#C142C2
secondary
#94CC94
accent
#DB4D4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142C2

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

Preview Lab → · Contrast checker → · Palette generator →

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