#C145B8#C145B8

#C145B8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.205 H 330.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C145B8
RGBrgb(193, 69, 184)
HSLhsl(304, 50%, 51%)
HSVhsv(304, 64%, 76%)
CMYKcmyk(0%, 64.2%, 4.7%, 24.3%)
CIE-LABlab(50.75, 62.88, -36.37)
CIE-LCHlch(50.75, 72.64, 329.96°)
OKLaboklab(60.21% 0.1788 -0.0999)
OKLCHoklch(60.21% 0.205 330.8)
XYZxyz(32.7720, 19.0568, 47.2904)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145B8 #45C14E
analogous
#8C45C1 #C145B8 #C1457A
triadic
#C145B8 #B8C145 #45B8C1
tetradic
#C145B8 #C18C45 #45C14E #457AC1
square
#C145B8 #C18C45 #45C14E #457AC1
split-complementary
#C145B8 #7AC145 #45C18C
monochromatic
#692364 #97328F #C145B8 #D073CA #E0A1DB

Accessibility & contrast

On white

4.37
#C145B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C145B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145B8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145B8#FFFFFF#000000##000000
##C145B81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#C85278
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c145b8;
/* rgb */ color: rgb(193, 69, 184);
/* oklch */ color: oklch(60.2% 0.205 330.8);
Tailwind
colors: {
  custom: {
    50: '#d782cd',
    500: '#c145b8',
    950: '#000000',
  },
}
SCSS
$custom: #c145b8;
$custom-light: #d782cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c145b8",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 304.355,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.20481,
    "h": 330.8
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#C145B8
secondary
#96CC9A
accent
#DA584E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C145B8

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

Preview Lab → · Contrast checker → · Palette generator →

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