#C140B7#C140B7

#C140B7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.210 H 331.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C140B7
RGBrgb(193, 64, 183)
HSLhsl(305, 51%, 50%)
HSVhsv(305, 67%, 76%)
CMYKcmyk(0%, 66.8%, 5.2%, 24.3%)
CIE-LABlab(50.01, 64.66, -36.96)
CIE-LCHlch(50.01, 74.48, 330.25°)
OKLaboklab(59.66% 0.1843 -0.1016)
OKLCHoklch(59.66% 0.21 331.1)
XYZxyz(32.3729, 18.4256, 46.6420)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B7 #40C14A
analogous
#8A40C1 #C140B7 #C14076
triadic
#C140B7 #B7C140 #40B7C1
tetradic
#C140B7 #C18A40 #40C14A #4076C1
square
#C140B7 #C18A40 #40C14A #4076C1
split-complementary
#C140B7 #76C140 #40C18A
monochromatic
#662160 #94308C #C140B7 #D06EC8 #DF9CDA

Accessibility & contrast

On white

4.48
#C140B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C140B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140B7#FFFFFF#000000##000000
##C140B71.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#667DB4
Tritanopia (blue-blind)
#C94E76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c140b7;
/* rgb */ color: rgb(193, 64, 183);
/* oklch */ color: oklch(59.7% 0.210 331.1);
Tailwind
colors: {
  custom: {
    50: '#d77fcd',
    500: '#c140b7',
    950: '#000000',
  },
}
SCSS
$custom: #c140b7;
$custom-light: #d77fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b7",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 304.651,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.21044,
    "h": 331.1
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#C140B7
secondary
#92CB96
accent
#DA584D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140B7

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

Preview Lab → · Contrast checker → · Palette generator →

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