#C140BB#C140BB

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

Color values

HEX#C140BB
RGBrgb(193, 64, 187)
HSLhsl(303, 51%, 50%)
HSVhsv(303, 67%, 76%)
CMYKcmyk(0%, 66.8%, 3.1%, 24.3%)
CIE-LABlab(50.21, 65.31, -38.97)
CIE-LCHlch(50.21, 76.05, 329.17°)
OKLaboklab(59.87% 0.1846 -0.1074)
OKLCHoklch(59.87% 0.214 329.8)
XYZxyz(32.7951, 18.5945, 48.8659)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140BB #40C146
analogous
#8740C1 #C140BB #C1407A
triadic
#C140BB #BBC140 #40BBC1
tetradic
#C140BB #C18740 #40C146 #407AC1
square
#C140BB #C18740 #40C146 #407AC1
split-complementary
#C140BB #7AC140 #40C187
monochromatic
#662162 #94308F #C140BB #D06ECB #DF9CDC

Accessibility & contrast

On white

4.45
#C140BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C140BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140BB#FFFFFF#000000##000000
##C140BB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336CBF
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#C85078
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c140bb;
/* rgb */ color: rgb(193, 64, 187);
/* oklch */ color: oklch(59.9% 0.214 329.8);
Tailwind
colors: {
  custom: {
    50: '#d77fd0',
    500: '#c140bb',
    950: '#000000',
  },
}
SCSS
$custom: #c140bb;
$custom-light: #d77fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c140bb",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 302.791,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.21353,
    "h": 329.8
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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