#C140A4#C140A4

#C140A4 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.197 H 338.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C140A4
RGBrgb(193, 64, 164)
HSLhsl(313, 51%, 50%)
HSVhsv(313, 67%, 76%)
CMYKcmyk(0%, 66.8%, 15%, 24.3%)
CIE-LABlab(49.11, 61.75, -27.20)
CIE-LCHlch(49.11, 67.47, 336.23°)
OKLaboklab(58.72% 0.1822 -0.0737)
OKLCHoklch(58.72% 0.197 338)
XYZxyz(30.5271, 17.6873, 36.9210)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140A4 #40C15D
analogous
#9D40C1 #C140A4 #C14064
triadic
#C140A4 #A4C140 #40A4C1
tetradic
#C140A4 #C19D40 #40C15D #4064C1
square
#C140A4 #C19D40 #40C15D #4064C1
split-complementary
#C140A4 #64C140 #40C19D
monochromatic
#662156 #94307D #C140A4 #D06EBA #DF9CD0

Accessibility & contrast

On white

4.63
#C140A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C140A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C140A4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140A4#FFFFFF#000000##FFFFFF
##C140A41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#CB466C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c140a4;
/* rgb */ color: rgb(193, 64, 164);
/* oklch */ color: oklch(58.7% 0.197 338.0);
Tailwind
colors: {
  custom: {
    50: '#d77ebf',
    500: '#c140a4',
    950: '#000000',
  },
}
SCSS
$custom: #c140a4;
$custom-light: #d77ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#c140a4",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 313.488,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.1965,
    "h": 338
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#C140A4
secondary
#92CB9F
accent
#DA6D4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C140A4

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

Preview Lab → · Contrast checker → · Palette generator →

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