#C145AC#C145AC

#C145AC is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.196 H 335.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C145AC
RGBrgb(193, 69, 172)
HSLhsl(310, 50%, 51%)
HSVhsv(310, 64%, 76%)
CMYKcmyk(0%, 64.2%, 10.9%, 24.3%)
CIE-LABlab(50.19, 60.98, -30.24)
CIE-LCHlch(50.19, 68.06, 333.62°)
OKLaboklab(59.61% 0.1774 -0.0824)
OKLCHoklch(59.61% 0.196 335.1)
XYZxyz(31.5671, 18.5748, 40.9445)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145AC #45C15A
analogous
#9845C1 #C145AC #C1456E
triadic
#C145AC #ACC145 #45ACC1
tetradic
#C145AC #C19845 #45C15A #456EC1
square
#C145AC #C19845 #45C15A #456EC1
split-complementary
#C145AC #6EC145 #45C198
monochromatic
#69235D #973286 #C145AC #D073C0 #E0A1D5

Accessibility & contrast

On white

4.45
#C145AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C145AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145AC#FFFFFF#000000##000000
##C145AC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#456CAF
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#CA4D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c145ac;
/* rgb */ color: rgb(193, 69, 172);
/* oklch */ color: oklch(59.6% 0.196 335.1);
Tailwind
colors: {
  custom: {
    50: '#d781c5',
    500: '#c145ac',
    950: '#000000',
  },
}
SCSS
$custom: #c145ac;
$custom-light: #d781c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c145ac",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 310.161,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.19563,
    "h": 335.1
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#C145AC
secondary
#96CC9F
accent
#DA664E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C145AC

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

Preview Lab → · Contrast checker → · Palette generator →

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