#C140A8#C140A8

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

Color values

HEX#C140A8
RGBrgb(193, 64, 168)
HSLhsl(312, 51%, 50%)
HSVhsv(312, 67%, 76%)
CMYKcmyk(0%, 66.8%, 13%, 24.3%)
CIE-LABlab(49.29, 62.34, -29.28)
CIE-LCHlch(49.29, 68.87, 334.84°)
OKLaboklab(58.9% 0.1827 -0.0796)
OKLCHoklch(58.9% 0.199 336.5)
XYZxyz(30.8940, 17.8341, 38.8534)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140A8 #40C159
analogous
#9940C1 #C140A8 #C14067
triadic
#C140A8 #A8C140 #40A8C1
tetradic
#C140A8 #C19940 #40C159 #4067C1
square
#C140A8 #C19940 #40C159 #4067C1
split-complementary
#C140A8 #67C140 #40C199
monochromatic
#662158 #943080 #C140A8 #D06EBD #DF9CD2

Accessibility & contrast

On white

4.60
#C140A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C140A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C140A8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140A8#FFFFFF#000000##FFFFFF
##C140A81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#CB476E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c140a8;
/* rgb */ color: rgb(193, 64, 168);
/* oklch */ color: oklch(58.9% 0.199 336.5);
Tailwind
colors: {
  custom: {
    50: '#d77fc2',
    500: '#c140a8',
    950: '#000000',
  },
}
SCSS
$custom: #c140a8;
$custom-light: #d77fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c140a8",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 168
  },
  "hsl": {
    "h": 311.628,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.19932,
    "h": 336.5
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C140A8

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

Preview Lab → · Contrast checker → · Palette generator →

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