#C142AF#C142AF

#C142AF is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.202 H 333.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C142AF
RGBrgb(193, 66, 175)
HSLhsl(309, 51%, 51%)
HSVhsv(309, 66%, 76%)
CMYKcmyk(0%, 65.8%, 9.3%, 24.3%)
CIE-LABlab(49.90, 62.63, -32.46)
CIE-LCHlch(49.90, 70.54, 332.61°)
OKLaboklab(59.45% 0.1813 -0.0887)
OKLCHoklch(59.45% 0.202 333.9)
XYZxyz(31.6786, 18.3316, 42.4190)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142AF #42C154
analogous
#9342C1 #C142AF #C1426F
triadic
#C142AF #AFC142 #42AFC1
tetradic
#C142AF #C19342 #42C154 #426FC1
square
#C142AF #C19342 #42C154 #426FC1
split-complementary
#C142AF #6FC142 #42C193
monochromatic
#67225D #953187 #C142AF #D070C3 #DF9ED6

Accessibility & contrast

On white

4.50
#C142AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C142AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142AF#FFFFFF#000000##000000
##C142AF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#CA4C73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c142af;
/* rgb */ color: rgb(193, 66, 175);
/* oklch */ color: oklch(59.4% 0.202 333.9);
Tailwind
colors: {
  custom: {
    50: '#d780c7',
    500: '#c142af',
    950: '#000000',
  },
}
SCSS
$custom: #c142af;
$custom-light: #d780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c142af",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 308.504,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.20184,
    "h": 333.9
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#C142AF
secondary
#93CC9B
accent
#DA624E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C142AF

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

Preview Lab → · Contrast checker → · Palette generator →

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