#C140B1#C140B1

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

Color values

HEX#C140B1
RGBrgb(193, 64, 177)
HSLhsl(307, 51%, 50%)
HSVhsv(307, 67%, 76%)
CMYKcmyk(0%, 66.8%, 8.3%, 24.3%)
CIE-LABlab(49.72, 63.72, -33.91)
CIE-LCHlch(49.72, 72.18, 331.98°)
OKLaboklab(59.35% 0.1838 -0.0928)
OKLCHoklch(59.35% 0.206 333.2)
XYZxyz(31.7617, 18.1811, 43.4229)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B1 #40C150
analogous
#9040C1 #C140B1 #C14070
triadic
#C140B1 #B1C140 #40B1C1
tetradic
#C140B1 #C19040 #40C150 #4070C1
square
#C140B1 #C19040 #40C150 #4070C1
split-complementary
#C140B1 #70C140 #40C190
monochromatic
#66215D #943087 #C140B1 #D06EC4 #DF9CD7

Accessibility & contrast

On white

4.53
#C140B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C140B1#FFFFFF#000000##000000
##C140B11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#C94B73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c140b1;
/* rgb */ color: rgb(193, 64, 177);
/* oklch */ color: oklch(59.3% 0.206 333.2);
Tailwind
colors: {
  custom: {
    50: '#d77fc8',
    500: '#c140b1',
    950: '#000000',
  },
}
SCSS
$custom: #c140b1;
$custom-light: #d77fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b1",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 307.442,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.2059,
    "h": 333.2
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#C140B1
secondary
#92CB99
accent
#DA5F4D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140B1

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

Preview Lab → · Contrast checker → · Palette generator →

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