#C140AB#C140AB

#C140AB is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.1% C 0.201 H 335.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C140AB
RGBrgb(193, 64, 171)
HSLhsl(310, 51%, 50%)
HSVhsv(310, 67%, 76%)
CMYKcmyk(0%, 66.8%, 11.4%, 24.3%)
CIE-LABlab(49.43, 62.79, -30.83)
CIE-LCHlch(49.43, 69.95, 333.85°)
OKLaboklab(59.05% 0.1831 -0.084)
OKLCHoklch(59.05% 0.201 335.4)
XYZxyz(31.1767, 17.9471, 40.3423)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140AB #40C156
analogous
#9740C1 #C140AB #C1406A
triadic
#C140AB #ABC140 #40ABC1
tetradic
#C140AB #C19740 #40C156 #406AC1
square
#C140AB #C19740 #40C156 #406AC1
split-complementary
#C140AB #6AC140 #40C197
monochromatic
#66215A #943083 #C140AB #D06EBF #DF9CD4

Accessibility & contrast

On white

4.58
#C140AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C140AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140AB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140AB#FFFFFF#000000##000000
##C140AB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#CA4970
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c140ab;
/* rgb */ color: rgb(193, 64, 171);
/* oklch */ color: oklch(59.1% 0.201 335.4);
Tailwind
colors: {
  custom: {
    50: '#d77fc4',
    500: '#c140ab',
    950: '#000000',
  },
}
SCSS
$custom: #c140ab;
$custom-light: #d77fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c140ab",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 310.233,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.20148,
    "h": 335.4
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#C140AB
secondary
#92CB9B
accent
#DA654D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C140AB

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

Preview Lab → · Contrast checker → · Palette generator →

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