#C145A2#C145A2

#C145A2 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.1% C 0.188 H 339.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C145A2
RGBrgb(193, 69, 162)
HSLhsl(315, 50%, 51%)
HSVhsv(315, 64%, 76%)
CMYKcmyk(0%, 64.2%, 16.1%, 24.3%)
CIE-LABlab(49.74, 59.47, -25.04)
CIE-LCHlch(49.74, 64.52, 337.16°)
OKLaboklab(59.15% 0.1759 -0.0676)
OKLCHoklch(59.15% 0.188 339)
XYZxyz(30.6426, 18.2050, 36.0755)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145A2 #45C164
analogous
#A245C1 #C145A2 #C14564
triadic
#C145A2 #A2C145 #45A2C1
tetradic
#C145A2 #C1A245 #45C164 #4564C1
square
#C145A2 #C1A245 #45C164 #4564C1
split-complementary
#C145A2 #64C145 #45C1A2
monochromatic
#692357 #97327E #C145A2 #D073B9 #E0A1D0

Accessibility & contrast

On white

4.53
#C145A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C145A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145A2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145A2#FFFFFF#000000##000000
##C145A21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#CB496D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c145a2;
/* rgb */ color: rgb(193, 69, 162);
/* oklch */ color: oklch(59.1% 0.188 339.0);
Tailwind
colors: {
  custom: {
    50: '#d781bd',
    500: '#c145a2',
    950: '#000000',
  },
}
SCSS
$custom: #c145a2;
$custom-light: #d781bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c145a2",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 315,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.18844,
    "h": 339
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#C145A2
secondary
#96CCA3
accent
#DA714E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C145A2

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

Preview Lab → · Contrast checker → · Palette generator →

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