#C140A7#C140A7

#C140A7 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.9% C 0.199 H 336.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C140A7
RGBrgb(193, 64, 167)
HSLhsl(312, 51%, 50%)
HSVhsv(312, 67%, 76%)
CMYKcmyk(0%, 66.8%, 13.5%, 24.3%)
CIE-LABlab(49.25, 62.19, -28.76)
CIE-LCHlch(49.25, 68.52, 335.18°)
OKLaboklab(58.86% 0.1826 -0.0781)
OKLCHoklch(58.86% 0.199 336.8)
XYZxyz(30.8012, 17.7969, 38.3647)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140A7 #40C15A
analogous
#9A40C1 #C140A7 #C14066
triadic
#C140A7 #A7C140 #40A7C1
tetradic
#C140A7 #C19A40 #40C15A #4066C1
square
#C140A7 #C19A40 #40C15A #4066C1
split-complementary
#C140A7 #66C140 #40C19A
monochromatic
#662158 #943080 #C140A7 #D06EBC #DF9CD2

Accessibility & contrast

On white

4.61
#C140A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C140A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C140A7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140A7#FFFFFF#000000##FFFFFF
##C140A71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#6D7CA4
Tritanopia (blue-blind)
#CB476E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c140a7;
/* rgb */ color: rgb(193, 64, 167);
/* oklch */ color: oklch(58.9% 0.199 336.8);
Tailwind
colors: {
  custom: {
    50: '#d77fc1',
    500: '#c140a7',
    950: '#000000',
  },
}
SCSS
$custom: #c140a7;
$custom-light: #d77fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c140a7",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 312.093,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.19861,
    "h": 336.8
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#C140A7
secondary
#92CB9D
accent
#DA6A4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C140A7

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

Preview Lab → · Contrast checker → · Palette generator →

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