#C140AF#C140AF

#C140AF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.204 H 333.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C140AF
RGBrgb(193, 64, 175)
HSLhsl(308, 51%, 50%)
HSVhsv(308, 67%, 76%)
CMYKcmyk(0%, 66.8%, 9.3%, 24.3%)
CIE-LABlab(49.62, 63.40, -32.89)
CIE-LCHlch(49.62, 71.43, 332.58°)
OKLaboklab(59.25% 0.1836 -0.0899)
OKLCHoklch(59.25% 0.204 333.9)
XYZxyz(31.5638, 18.1020, 42.3808)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140AF #40C152
analogous
#9240C1 #C140AF #C1406E
triadic
#C140AF #AFC140 #40AFC1
tetradic
#C140AF #C19240 #40C152 #406EC1
square
#C140AF #C19240 #40C152 #406EC1
split-complementary
#C140AF #6EC140 #40C192
monochromatic
#66215C #943086 #C140AF #D06EC2 #DF9CD6

Accessibility & contrast

On white

4.55
#C140AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C140AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140AF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140AF#FFFFFF#000000##000000
##C140AF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#697DAC
Tritanopia (blue-blind)
#CA4A72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c140af;
/* rgb */ color: rgb(193, 64, 175);
/* oklch */ color: oklch(59.2% 0.204 333.9);
Tailwind
colors: {
  custom: {
    50: '#d77fc7',
    500: '#c140af',
    950: '#000000',
  },
}
SCSS
$custom: #c140af;
$custom-light: #d77fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c140af",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 308.372,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.20441,
    "h": 333.9
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#C140AF
secondary
#92CB9A
accent
#DA614D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140AF

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

Preview Lab → · Contrast checker → · Palette generator →

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