#C145AB#C145AB

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

Color values

HEX#C145AB
RGBrgb(193, 69, 171)
HSLhsl(311, 50%, 51%)
HSVhsv(311, 64%, 76%)
CMYKcmyk(0%, 64.2%, 11.4%, 24.3%)
CIE-LABlab(50.14, 60.82, -29.73)
CIE-LCHlch(50.14, 67.70, 333.95°)
OKLaboklab(59.57% 0.1773 -0.0809)
OKLCHoklch(59.57% 0.195 335.5)
XYZxyz(31.4714, 18.5366, 40.4406)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145AB #45C15B
analogous
#9945C1 #C145AB #C1456D
triadic
#C145AB #ABC145 #45ABC1
tetradic
#C145AB #C19945 #45C15B #456DC1
square
#C145AB #C19945 #45C15B #456DC1
split-complementary
#C145AB #6DC145 #45C199
monochromatic
#69235C #973285 #C145AB #D073C0 #E0A1D4

Accessibility & contrast

On white

4.46
#C145AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C145AB#FFFFFF#000000##000000
##C145AB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#CA4D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c145ab;
/* rgb */ color: rgb(193, 69, 171);
/* oklch */ color: oklch(59.6% 0.195 335.5);
Tailwind
colors: {
  custom: {
    50: '#d781c4',
    500: '#c145ab',
    950: '#000000',
  },
}
SCSS
$custom: #c145ab;
$custom-light: #d781c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c145ab",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 310.645,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.19489,
    "h": 335.5
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#C145AB
secondary
#96CC9F
accent
#DA674E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C145AB

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

Preview Lab → · Contrast checker → · Palette generator →

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