#C140B5#C140B5

#C140B5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.209 H 331.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C140B5
RGBrgb(193, 64, 181)
HSLhsl(306, 51%, 50%)
HSVhsv(306, 67%, 76%)
CMYKcmyk(0%, 66.8%, 6.2%, 24.3%)
CIE-LABlab(49.91, 64.34, -35.95)
CIE-LCHlch(49.91, 73.70, 330.81°)
OKLaboklab(59.55% 0.1841 -0.0987)
OKLCHoklch(59.55% 0.209 331.8)
XYZxyz(32.1662, 18.3429, 45.5535)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B5 #40C14C
analogous
#8C40C1 #C140B5 #C14075
triadic
#C140B5 #B5C140 #40B5C1
tetradic
#C140B5 #C18C40 #40C14C #4075C1
square
#C140B5 #C18C40 #40C14C #4075C1
split-complementary
#C140B5 #75C140 #40C18C
monochromatic
#66215F #94308B #C140B5 #D06EC7 #DF9CD9

Accessibility & contrast

On white

4.50
#C140B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C140B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140B5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140B5#FFFFFF#000000##000000
##C140B51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#C94D75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c140b5;
/* rgb */ color: rgb(193, 64, 181);
/* oklch */ color: oklch(59.6% 0.209 331.8);
Tailwind
colors: {
  custom: {
    50: '#d77fcb',
    500: '#c140b5',
    950: '#000000',
  },
}
SCSS
$custom: #c140b5;
$custom-light: #d77fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b5",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 305.581,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.20891,
    "h": 331.8
  },
  "luminance": 0.1834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C140B5

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

Preview Lab → · Contrast checker → · Palette generator →

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