#C142B9#C142B9

#C142B9 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.209 H 330.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C142B9
RGBrgb(193, 66, 185)
HSLhsl(304, 51%, 51%)
HSVhsv(304, 66%, 76%)
CMYKcmyk(0%, 65.8%, 4.1%, 24.3%)
CIE-LABlab(50.38, 64.22, -37.54)
CIE-LCHlch(50.38, 74.39, 329.69°)
OKLaboklab(59.96% 0.1822 -0.1033)
OKLCHoklch(59.96% 0.209 330.5)
XYZxyz(32.6973, 18.7391, 47.7844)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B9 #42C14A
analogous
#8A42C1 #C142B9 #C14279
triadic
#C142B9 #B9C142 #42B9C1
tetradic
#C142B9 #C18A42 #42C14A #4279C1
square
#C142B9 #C18A42 #42C14A #4279C1
split-complementary
#C142B9 #79C142 #42C18A
monochromatic
#672263 #95318F #C142B9 #D070CA #DF9EDB

Accessibility & contrast

On white

4.42
#C142B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C142B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B9#FFFFFF#000000##000000
##C142B91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBC
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#C85078
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c142b9;
/* rgb */ color: rgb(193, 66, 185);
/* oklch */ color: oklch(60.0% 0.209 330.5);
Tailwind
colors: {
  custom: {
    50: '#d780ce',
    500: '#c142b9',
    950: '#000000',
  },
}
SCSS
$custom: #c142b9;
$custom-light: #d780ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b9",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 303.78,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.20947,
    "h": 330.5
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#C142B9
secondary
#93CC97
accent
#DA574E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C142B9

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

Preview Lab → · Contrast checker → · Palette generator →

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