#C151A6#C151A6

#C151A6 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.174 H 337.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C151A6
RGBrgb(193, 81, 166)
HSLhsl(314, 47%, 54%)
HSVhsv(314, 58%, 76%)
CMYKcmyk(0%, 58%, 14%, 24.3%)
CIE-LABlab(51.81, 54.88, -24.20)
CIE-LCHlch(51.81, 59.98, 336.20°)
OKLaboklab(60.72% 0.1612 -0.0653)
OKLCHoklch(60.72% 0.174 337.9)
XYZxyz(31.8181, 19.9780, 38.2493)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A6 #51C16C
analogous
#A451C1 #C151A6 #C1516E
triadic
#C151A6 #A6C151 #51A6C1
tetradic
#C151A6 #C1A451 #51C16C #516EC1
square
#C151A6 #C1A451 #51C16C #516EC1
split-complementary
#C151A6 #6EC151 #51C1A4
monochromatic
#70285E #9D3885 #C151A6 #D17EBD #E1ABD4

Accessibility & contrast

On white

4.20
#C151A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C151A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A6#FFFFFF#000000##000000
##C151A61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471A9
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c151a6;
/* rgb */ color: rgb(193, 81, 166);
/* oklch */ color: oklch(60.7% 0.174 337.9);
Tailwind
colors: {
  custom: {
    50: '#d688c0',
    500: '#c151a6',
    950: '#000000',
  },
}
SCSS
$custom: #c151a6;
$custom-light: #d688c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a6",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 314.464,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.17392,
    "h": 337.9
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#C151A6
secondary
#9FCFAA
accent
#D77151
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151A6

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

Preview Lab → · Contrast checker → · Palette generator →

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