#C142B2#C142B2

#C142B2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.204 H 332.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C142B2
RGBrgb(193, 66, 178)
HSLhsl(307, 51%, 51%)
HSVhsv(307, 66%, 76%)
CMYKcmyk(0%, 65.8%, 7.8%, 24.3%)
CIE-LABlab(50.04, 63.10, -33.99)
CIE-LCHlch(50.04, 71.67, 331.69°)
OKLaboklab(59.6% 0.1816 -0.0931)
OKLCHoklch(59.6% 0.204 332.9)
XYZxyz(31.9765, 18.4508, 43.9880)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B2 #42C151
analogous
#9142C1 #C142B2 #C14272
triadic
#C142B2 #B2C142 #42B2C1
tetradic
#C142B2 #C19142 #42C151 #4272C1
square
#C142B2 #C19142 #42C151 #4272C1
split-complementary
#C142B2 #72C142 #42C191
monochromatic
#67225F #953189 #C142B2 #D070C5 #DF9ED8

Accessibility & contrast

On white

4.48
#C142B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C142B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B2#FFFFFF#000000##000000
##C142B21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c142b2;
/* rgb */ color: rgb(193, 66, 178);
/* oklch */ color: oklch(59.6% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#d780c9',
    500: '#c142b2',
    950: '#000000',
  },
}
SCSS
$custom: #c142b2;
$custom-light: #d780c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b2",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 307.087,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.2041,
    "h": 332.9
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142B2

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

Preview Lab → · Contrast checker → · Palette generator →

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