#C140C2#C140C2

#C140C2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.219 H 327.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C140C2
RGBrgb(193, 64, 194)
HSLhsl(300, 52%, 51%)
HSVhsv(300, 67%, 76%)
CMYKcmyk(0.5%, 67%, 0%, 23.9%)
CIE-LABlab(50.57, 66.46, -42.46)
CIE-LCHlch(50.57, 78.86, 327.43°)
OKLaboklab(60.25% 0.1848 -0.1175)
OKLCHoklch(60.25% 0.219 327.6)
XYZxyz(33.5628, 18.9016, 52.9091)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C2 #41C240
analogous
#8040C2 #C140C2 #C24082
triadic
#C140C2 #C2C140 #40C2C1
tetradic
#C140C2 #C28040 #41C240 #4082C2
square
#C140C2 #C28040 #41C240 #4082C2
split-complementary
#C140C2 #82C240 #40C280
monochromatic
#662167 #943095 #C140C2 #D06ED1 #DF9DE0

Accessibility & contrast

On white

4.39
#C140C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C140C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C2#FFFFFF#000000##000000
##C140C21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC6
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#C7537C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c140c2;
/* rgb */ color: rgb(193, 64, 194);
/* oklch */ color: oklch(60.2% 0.219 327.6);
Tailwind
colors: {
  custom: {
    50: '#d77fd5',
    500: '#c140c2',
    950: '#000000',
  },
}
SCSS
$custom: #c140c2;
$custom-light: #d77fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c2",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 299.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.21903,
    "h": 327.6
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#C140C2
secondary
#92CC92
accent
#DB4D4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C140C2

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

Preview Lab → · Contrast checker → · Palette generator →

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