#C142B5#C142B5

#C142B5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.206 H 331.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C142B5
RGBrgb(193, 66, 181)
HSLhsl(306, 51%, 51%)
HSVhsv(306, 66%, 76%)
CMYKcmyk(0%, 65.8%, 6.2%, 24.3%)
CIE-LABlab(50.18, 63.58, -35.52)
CIE-LCHlch(50.18, 72.83, 330.81°)
OKLaboklab(59.75% 0.1819 -0.0975)
OKLCHoklch(59.75% 0.206 331.8)
XYZxyz(32.2810, 18.5726, 45.5918)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142B5 #42C14E
analogous
#8D42C1 #C142B5 #C14275
triadic
#C142B5 #B5C142 #42B5C1
tetradic
#C142B5 #C18D42 #42C14E #4275C1
square
#C142B5 #C18D42 #42C14E #4275C1
split-complementary
#C142B5 #75C142 #42C18D
monochromatic
#672260 #95318B #C142B5 #D070C7 #DF9ED9

Accessibility & contrast

On white

4.45
#C142B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C142B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142B5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142B5#FFFFFF#000000##000000
##C142B51.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#C94E76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c142b5;
/* rgb */ color: rgb(193, 66, 181);
/* oklch */ color: oklch(59.8% 0.206 331.8);
Tailwind
colors: {
  custom: {
    50: '#d780cb',
    500: '#c142b5',
    950: '#000000',
  },
}
SCSS
$custom: #c142b5;
$custom-light: #d780cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c142b5",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 305.669,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.20638,
    "h": 331.8
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142B5

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

Preview Lab → · Contrast checker → · Palette generator →

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