#C142B1#C142B1

#C142B1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.203 H 333.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C142B1
RGBrgb(193, 66, 177)
HSLhsl(308, 51%, 51%)
HSVhsv(308, 66%, 76%)
CMYKcmyk(0%, 65.8%, 8.3%, 24.3%)
CIE-LABlab(49.99, 62.95, -33.48)
CIE-LCHlch(49.99, 71.30, 331.99°)
OKLaboklab(59.55% 0.1815 -0.0916)
OKLCHoklch(59.55% 0.203 333.2)
XYZxyz(31.8765, 18.4107, 43.4612)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B1 #42C152
analogous
#9142C1 #C142B1 #C14271
triadic
#C142B1 #B1C142 #42B1C1
tetradic
#C142B1 #C19142 #42C152 #4271C1
square
#C142B1 #C19142 #42C152 #4271C1
split-complementary
#C142B1 #71C142 #42C191
monochromatic
#67225E #953188 #C142B1 #D070C4 #DF9ED7

Accessibility & contrast

On white

4.49
#C142B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C142B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B1#FFFFFF#000000##000000
##C142B11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#697DAE
Tritanopia (blue-blind)
#C94D74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c142b1;
/* rgb */ color: rgb(193, 66, 177);
/* oklch */ color: oklch(59.5% 0.203 333.2);
Tailwind
colors: {
  custom: {
    50: '#d780c8',
    500: '#c142b1',
    950: '#000000',
  },
}
SCSS
$custom: #c142b1;
$custom-light: #d780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b1",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 307.559,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.20334,
    "h": 333.2
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#C142B1
secondary
#93CC9A
accent
#DA5F4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C142B1

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

Preview Lab → · Contrast checker → · Palette generator →

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