#C140B2#C140B2

#C140B2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.207 H 332.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C140B2
RGBrgb(193, 64, 178)
HSLhsl(307, 51%, 50%)
HSVhsv(307, 67%, 76%)
CMYKcmyk(0%, 66.8%, 7.8%, 24.3%)
CIE-LABlab(49.76, 63.87, -34.42)
CIE-LCHlch(49.76, 72.56, 331.68°)
OKLaboklab(59.4% 0.1839 -0.0943)
OKLCHoklch(59.4% 0.207 332.8)
XYZxyz(31.8617, 18.2211, 43.9498)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B2 #40C14F
analogous
#9040C1 #C140B2 #C14071
triadic
#C140B2 #B2C140 #40B2C1
tetradic
#C140B2 #C19040 #40C14F #4071C1
square
#C140B2 #C19040 #40C14F #4071C1
split-complementary
#C140B2 #71C140 #40C190
monochromatic
#66215E #943088 #C140B2 #D06EC5 #DF9CD7

Accessibility & contrast

On white

4.52
#C140B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C140B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140B2#FFFFFF#000000##000000
##C140B21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#C94C74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c140b2;
/* rgb */ color: rgb(193, 64, 178);
/* oklch */ color: oklch(59.4% 0.207 332.8);
Tailwind
colors: {
  custom: {
    50: '#d77fc9',
    500: '#c140b2',
    950: '#000000',
  },
}
SCSS
$custom: #c140b2;
$custom-light: #d77fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b2",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 306.977,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59399,
    "c": 0.20665,
    "h": 332.8
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#C140B2
secondary
#92CB98
accent
#DA5E4D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140B2

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

Preview Lab → · Contrast checker → · Palette generator →

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