#C140AC#C140AC

#C140AC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.202 H 335.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C140AC
RGBrgb(193, 64, 172)
HSLhsl(310, 51%, 50%)
HSVhsv(310, 67%, 76%)
CMYKcmyk(0%, 66.8%, 10.9%, 24.3%)
CIE-LABlab(49.48, 62.94, -31.35)
CIE-LCHlch(49.48, 70.32, 333.52°)
OKLaboklab(59.1% 0.1833 -0.0855)
OKLCHoklch(59.1% 0.202 335)
XYZxyz(31.2724, 17.9854, 40.8462)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140AC #40C155
analogous
#9540C1 #C140AC #C1406C
triadic
#C140AC #ACC140 #40ACC1
tetradic
#C140AC #C19540 #40C155 #406CC1
square
#C140AC #C19540 #40C155 #406CC1
split-complementary
#C140AC #6CC140 #40C195
monochromatic
#66215A #943084 #C140AC #D06EC0 #DF9CD4

Accessibility & contrast

On white

4.57
#C140AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C140AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140AC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140AC#FFFFFF#000000##000000
##C140AC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4069AF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#CA4970
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c140ac;
/* rgb */ color: rgb(193, 64, 172);
/* oklch */ color: oklch(59.1% 0.202 335.0);
Tailwind
colors: {
  custom: {
    50: '#d77fc5',
    500: '#c140ac',
    950: '#000000',
  },
}
SCSS
$custom: #c140ac;
$custom-light: #d77fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c140ac",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 309.767,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.20221,
    "h": 335
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#C140AC
secondary
#92CB9B
accent
#DA644D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140AC

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

Preview Lab → · Contrast checker → · Palette generator →

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