#C142B3#C142B3

#C142B3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.205 H 332.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C142B3
RGBrgb(193, 66, 179)
HSLhsl(307, 51%, 51%)
HSVhsv(307, 66%, 76%)
CMYKcmyk(0%, 65.8%, 7.3%, 24.3%)
CIE-LABlab(50.09, 63.26, -34.50)
CIE-LCHlch(50.09, 72.06, 331.39°)
OKLaboklab(59.65% 0.1817 -0.0945)
OKLCHoklch(59.65% 0.205 332.5)
XYZxyz(32.0773, 18.4911, 44.5188)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B3 #42C150
analogous
#8F42C1 #C142B3 #C14273
triadic
#C142B3 #B3C142 #42B3C1
tetradic
#C142B3 #C18F42 #42C150 #4273C1
square
#C142B3 #C18F42 #42C150 #4273C1
split-complementary
#C142B3 #73C142 #42C18F
monochromatic
#67225F #95318A #C142B3 #D070C6 #DF9ED8

Accessibility & contrast

On white

4.47
#C142B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C142B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B3#FFFFFF#000000##000000
##C142B31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#C94E75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c142b3;
/* rgb */ color: rgb(193, 66, 179);
/* oklch */ color: oklch(59.6% 0.205 332.5);
Tailwind
colors: {
  custom: {
    50: '#d780ca',
    500: '#c142b3',
    950: '#000000',
  },
}
SCSS
$custom: #c142b3;
$custom-light: #d780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b3",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 306.614,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.20485,
    "h": 332.5
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#C142B3
secondary
#93CC99
accent
#DA5D4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C142B3

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

Preview Lab → · Contrast checker → · Palette generator →

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