#C140B3#C140B3

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

Color values

HEX#C140B3
RGBrgb(193, 64, 179)
HSLhsl(307, 51%, 50%)
HSVhsv(307, 67%, 76%)
CMYKcmyk(0%, 66.8%, 7.3%, 24.3%)
CIE-LABlab(49.81, 64.03, -34.93)
CIE-LCHlch(49.81, 72.94, 331.38°)
OKLaboklab(59.45% 0.184 -0.0958)
OKLCHoklch(59.45% 0.207 332.5)
XYZxyz(31.9625, 18.2614, 44.4805)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140B3 #40C14E
analogous
#8F40C1 #C140B3 #C14072
triadic
#C140B3 #B3C140 #40B3C1
tetradic
#C140B3 #C18F40 #40C14E #4072C1
square
#C140B3 #C18F40 #40C14E #4072C1
split-complementary
#C140B3 #72C140 #40C18F
monochromatic
#66215E #943089 #C140B3 #D06EC5 #DF9CD8

Accessibility & contrast

On white

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

On black

4.65
#C140B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140B3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140B3#FFFFFF#000000##000000
##C140B31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c140b3;
/* rgb */ color: rgb(193, 64, 179);
/* oklch */ color: oklch(59.4% 0.207 332.5);
Tailwind
colors: {
  custom: {
    50: '#d77fca',
    500: '#c140b3',
    950: '#000000',
  },
}
SCSS
$custom: #c140b3;
$custom-light: #d77fca;
$custom-dark: #000000;
JSON
{
  "hex": "#c140b3",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 306.512,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.2074,
    "h": 332.5
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C140B3

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

Preview Lab → · Contrast checker → · Palette generator →

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