#C145A9#C145A9

#C145A9 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.193 H 336.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C145A9
RGBrgb(193, 69, 169)
HSLhsl(312, 50%, 51%)
HSVhsv(312, 64%, 76%)
CMYKcmyk(0%, 64.2%, 12.4%, 24.3%)
CIE-LABlab(50.05, 60.52, -28.69)
CIE-LCHlch(50.05, 66.97, 334.63°)
OKLaboklab(59.47% 0.177 -0.0779)
OKLCHoklch(59.47% 0.193 336.2)
XYZxyz(31.2823, 18.4609, 39.4442)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145A9 #45C15D
analogous
#9B45C1 #C145A9 #C1456B
triadic
#C145A9 #A9C145 #45A9C1
tetradic
#C145A9 #C19B45 #45C15D #456BC1
square
#C145A9 #C19B45 #45C15D #456BC1
split-complementary
#C145A9 #6BC145 #45C19B
monochromatic
#69235B #973283 #C145A9 #D073BE #E0A1D3

Accessibility & contrast

On white

4.48
#C145A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C145A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145A9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145A9#FFFFFF#000000##000000
##C145A91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAC
Deuteranopia (green-blind)
#6E7EA6
Tritanopia (blue-blind)
#CB4C71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c145a9;
/* rgb */ color: rgb(193, 69, 169);
/* oklch */ color: oklch(59.5% 0.193 336.2);
Tailwind
colors: {
  custom: {
    50: '#d781c3',
    500: '#c145a9',
    950: '#000000',
  },
}
SCSS
$custom: #c145a9;
$custom-light: #d781c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c145a9",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 311.613,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.19342,
    "h": 336.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#C145A9
secondary
#96CCA0
accent
#DA694E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C145A9

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

Preview Lab → · Contrast checker → · Palette generator →

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