#C140A5#C140A5

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

Color values

HEX#C140A5
RGBrgb(193, 64, 165)
HSLhsl(313, 51%, 50%)
HSVhsv(313, 67%, 76%)
CMYKcmyk(0%, 66.8%, 14.5%, 24.3%)
CIE-LABlab(49.16, 61.90, -27.72)
CIE-LCHlch(49.16, 67.82, 335.87°)
OKLaboklab(58.76% 0.1823 -0.0751)
OKLCHoklch(58.76% 0.197 337.6)
XYZxyz(30.6178, 17.7236, 37.3985)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140A5 #40C15C
analogous
#9C40C1 #C140A5 #C14065
triadic
#C140A5 #A5C140 #40A5C1
tetradic
#C140A5 #C19C40 #40C15C #4065C1
square
#C140A5 #C19C40 #40C15C #4065C1
split-complementary
#C140A5 #65C140 #40C19C
monochromatic
#662157 #94307E #C140A5 #D06EBB #DF9CD1

Accessibility & contrast

On white

4.62
#C140A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C140A5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140A5#FFFFFF#000000##FFFFFF
##C140A51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#6D7CA2
Tritanopia (blue-blind)
#CB466D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c140a5;
/* rgb */ color: rgb(193, 64, 165);
/* oklch */ color: oklch(58.8% 0.197 337.6);
Tailwind
colors: {
  custom: {
    50: '#d77ec0',
    500: '#c140a5',
    950: '#000000',
  },
}
SCSS
$custom: #c140a5;
$custom-light: #d77ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#c140a5",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 313.023,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.1972,
    "h": 337.6
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#C140A5
secondary
#92CB9E
accent
#DA6C4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C140A5

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

Preview Lab → · Contrast checker → · Palette generator →

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