#C140A2#C140A2

#C140A2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.195 H 338.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C140A2
RGBrgb(193, 64, 162)
HSLhsl(314, 51%, 50%)
HSVhsv(314, 67%, 76%)
CMYKcmyk(0%, 66.8%, 16.1%, 24.3%)
CIE-LABlab(49.03, 61.46, -26.15)
CIE-LCHlch(49.03, 66.79, 336.95°)
OKLaboklab(58.62% 0.1819 -0.0707)
OKLCHoklch(58.62% 0.195 338.8)
XYZxyz(30.3479, 17.6156, 35.9773)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140A2 #40C15F
analogous
#A040C1 #C140A2 #C14061
triadic
#C140A2 #A2C140 #40A2C1
tetradic
#C140A2 #C1A040 #40C15F #4061C1
square
#C140A2 #C1A040 #40C15F #4061C1
split-complementary
#C140A2 #61C140 #40C1A0
monochromatic
#662155 #94307C #C140A2 #D06EB8 #DF9CCF

Accessibility & contrast

On white

4.64
#C140A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C140A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C140A2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140A2#FFFFFF#000000##FFFFFF
##C140A21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#CC456B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c140a2;
/* rgb */ color: rgb(193, 64, 162);
/* oklch */ color: oklch(58.6% 0.195 338.8);
Tailwind
colors: {
  custom: {
    50: '#d77ebd',
    500: '#c140a2',
    950: '#000000',
  },
}
SCSS
$custom: #c140a2;
$custom-light: #d77ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#c140a2",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 314.419,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.19512,
    "h": 338.8
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#C140A2
secondary
#92CB9F
accent
#DA6F4D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C140A2

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

Preview Lab → · Contrast checker → · Palette generator →

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