#C140BC#C140BC

#C140BC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.214 H 329.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C140BC
RGBrgb(193, 64, 188)
HSLhsl(302, 51%, 50%)
HSVhsv(302, 67%, 76%)
CMYKcmyk(0%, 66.8%, 2.6%, 24.3%)
CIE-LABlab(50.26, 65.47, -39.47)
CIE-LCHlch(50.26, 76.45, 328.91°)
OKLaboklab(59.92% 0.1846 -0.1088)
OKLCHoklch(59.92% 0.214 329.5)
XYZxyz(32.9026, 18.6375, 49.4316)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140BC #40C145
analogous
#8640C1 #C140BC #C1407B
triadic
#C140BC #BCC140 #40BCC1
tetradic
#C140BC #C18640 #40C145 #407BC1
square
#C140BC #C18640 #40C145 #407BC1
split-complementary
#C140BC #7BC140 #40C186
monochromatic
#662163 #943090 #C140BC #D06ECC #DF9CDC

Accessibility & contrast

On white

4.44
#C140BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C140BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140BC#FFFFFF#000000##000000
##C140BC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CC0
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#C85079
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c140bc;
/* rgb */ color: rgb(193, 64, 188);
/* oklch */ color: oklch(59.9% 0.214 329.5);
Tailwind
colors: {
  custom: {
    50: '#d77fd0',
    500: '#c140bc',
    950: '#000000',
  },
}
SCSS
$custom: #c140bc;
$custom-light: #d77fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c140bc",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 302.326,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.21431,
    "h": 329.5
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#C140BC
secondary
#92CB94
accent
#DA534D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C140BC

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

Preview Lab → · Contrast checker → · Palette generator →

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