#C140BD#C140BD

#C140BD is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.215 H 329.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C140BD
RGBrgb(193, 64, 189)
HSLhsl(302, 51%, 50%)
HSVhsv(302, 67%, 76%)
CMYKcmyk(0%, 66.8%, 2.1%, 24.3%)
CIE-LABlab(50.31, 65.63, -39.97)
CIE-LCHlch(50.31, 76.85, 328.66°)
OKLaboklab(59.97% 0.1847 -0.1103)
OKLCHoklch(59.97% 0.215 329.1)
XYZxyz(33.0107, 18.6807, 50.0013)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140BD #40C144
analogous
#8440C1 #C140BD #C1407D
triadic
#C140BD #BDC140 #40BDC1
tetradic
#C140BD #C18440 #40C144 #407DC1
square
#C140BD #C18440 #40C144 #407DC1
split-complementary
#C140BD #7DC140 #40C184
monochromatic
#662163 #943091 #C140BD #D06ECD #DF9CDD

Accessibility & contrast

On white

4.43
#C140BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C140BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140BD#FFFFFF#000000##000000
##C140BD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#C85079
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c140bd;
/* rgb */ color: rgb(193, 64, 189);
/* oklch */ color: oklch(60.0% 0.215 329.1);
Tailwind
colors: {
  custom: {
    50: '#d77fd1',
    500: '#c140bd',
    950: '#000000',
  },
}
SCSS
$custom: #c140bd;
$custom-light: #d77fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c140bd",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 301.86,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.21509,
    "h": 329.1
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#C140BD
secondary
#92CB93
accent
#DA524D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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