#C140B4#C140B4

#C140B4 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.208 H 332.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C140B4
RGBrgb(193, 64, 180)
HSLhsl(306, 51%, 50%)
HSVhsv(306, 67%, 76%)
CMYKcmyk(0%, 66.8%, 6.7%, 24.3%)
CIE-LABlab(49.86, 64.19, -35.44)
CIE-LCHlch(49.86, 73.32, 331.10°)
OKLaboklab(59.5% 0.1841 -0.0972)
OKLCHoklch(59.5% 0.208 332.2)
XYZxyz(32.0640, 18.3020, 45.0150)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B4 #40C14D
analogous
#8E40C1 #C140B4 #C14073
triadic
#C140B4 #B4C140 #40B4C1
tetradic
#C140B4 #C18E40 #40C14D #4073C1
square
#C140B4 #C18E40 #40C14D #4073C1
split-complementary
#C140B4 #73C140 #40C18E
monochromatic
#66215F #94308A #C140B4 #D06EC6 #DF9CD8

Accessibility & contrast

On white

4.51
#C140B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C140B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140B4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140B4#FFFFFF#000000##000000
##C140B41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#C94D75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c140b4;
/* rgb */ color: rgb(193, 64, 180);
/* oklch */ color: oklch(59.5% 0.208 332.2);
Tailwind
colors: {
  custom: {
    50: '#d77fcb',
    500: '#c140b4',
    950: '#000000',
  },
}
SCSS
$custom: #c140b4;
$custom-light: #d77fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b4",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 306.047,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.20815,
    "h": 332.2
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#C140B4
secondary
#92CB97
accent
#DA5C4D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C140B4

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

Preview Lab → · Contrast checker → · Palette generator →

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