#C142B7#C142B7

#C142B7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.208 H 331.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C142B7
RGBrgb(193, 66, 183)
HSLhsl(305, 51%, 51%)
HSVhsv(305, 66%, 76%)
CMYKcmyk(0%, 65.8%, 5.2%, 24.3%)
CIE-LABlab(50.28, 63.90, -36.53)
CIE-LCHlch(50.28, 73.60, 330.24°)
OKLaboklab(59.85% 0.1821 -0.1004)
OKLCHoklch(59.85% 0.208 331.1)
XYZxyz(32.4877, 18.6552, 46.6803)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B7 #42C14C
analogous
#8B42C1 #C142B7 #C14277
triadic
#C142B7 #B7C142 #42B7C1
tetradic
#C142B7 #C18B42 #42C14C #4277C1
square
#C142B7 #C18B42 #42C14C #4277C1
split-complementary
#C142B7 #77C142 #42C18B
monochromatic
#672261 #95318D #C142B7 #D070C9 #DF9EDA

Accessibility & contrast

On white

4.44
#C142B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C142B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B7#FFFFFF#000000##000000
##C142B71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#C84F77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c142b7;
/* rgb */ color: rgb(193, 66, 183);
/* oklch */ color: oklch(59.9% 0.208 331.1);
Tailwind
colors: {
  custom: {
    50: '#d780cd',
    500: '#c142b7',
    950: '#000000',
  },
}
SCSS
$custom: #c142b7;
$custom-light: #d780cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b7",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 304.724,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59853,
    "c": 0.20792,
    "h": 331.1
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142B7

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

Preview Lab → · Contrast checker → · Palette generator →

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