#C142B6#C142B6

#C142B6 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.207 H 331.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C142B6
RGBrgb(193, 66, 182)
HSLhsl(305, 51%, 51%)
HSVhsv(305, 66%, 76%)
CMYKcmyk(0%, 65.8%, 5.7%, 24.3%)
CIE-LABlab(50.23, 63.74, -36.02)
CIE-LCHlch(50.23, 73.21, 330.53°)
OKLaboklab(59.8% 0.182 -0.0989)
OKLCHoklch(59.8% 0.207 331.5)
XYZxyz(32.3840, 18.6137, 46.1341)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B6 #42C14D
analogous
#8C42C1 #C142B6 #C14276
triadic
#C142B6 #B6C142 #42B6C1
tetradic
#C142B6 #C18C42 #42C14D #4276C1
square
#C142B6 #C18C42 #42C14D #4276C1
split-complementary
#C142B6 #76C142 #42C18C
monochromatic
#672261 #95318C #C142B6 #D070C8 #DF9EDA

Accessibility & contrast

On white

4.45
#C142B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C142B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B6#FFFFFF#000000##000000
##C142B61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#C94F76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c142b6;
/* rgb */ color: rgb(193, 66, 182);
/* oklch */ color: oklch(59.8% 0.207 331.5);
Tailwind
colors: {
  custom: {
    50: '#d780cc',
    500: '#c142b6',
    950: '#000000',
  },
}
SCSS
$custom: #c142b6;
$custom-light: #d780cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b6",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 305.197,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.20715,
    "h": 331.5
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#C142B6
secondary
#93CC98
accent
#DA5A4E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C142B6

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

Preview Lab → · Contrast checker → · Palette generator →

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