#C151AC#C151AC

#C151AC is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.178 H 335.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C151AC
RGBrgb(193, 81, 172)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 58%, 76%)
CMYKcmyk(0%, 58%, 10.9%, 24.3%)
CIE-LABlab(52.07, 55.82, -27.32)
CIE-LCHlch(52.07, 62.15, 333.92°)
OKLaboklab(60.99% 0.1623 -0.0742)
OKLCHoklch(60.99% 0.178 335.4)
XYZxyz(32.3814, 20.2033, 41.2159)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AC #51C166
analogous
#9E51C1 #C151AC #C15174
triadic
#C151AC #ACC151 #51ACC1
tetradic
#C151AC #C19E51 #51C166 #5174C1
square
#C151AC #C19E51 #51C166 #5174C1
split-complementary
#C151AC #74C151 #51C19E
monochromatic
#702862 #9D388A #C151AC #D17EC2 #E1ABD7

Accessibility & contrast

On white

4.17
#C151AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C151AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151AC#FFFFFF#000000##000000
##C151AC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#CA5777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151ac;
/* rgb */ color: rgb(193, 81, 172);
/* oklch */ color: oklch(61.0% 0.178 335.4);
Tailwind
colors: {
  custom: {
    50: '#d688c5',
    500: '#c151ac',
    950: '#000000',
  },
}
SCSS
$custom: #c151ac;
$custom-light: #d688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c151ac",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 311.25,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.17844,
    "h": 335.4
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#C151AC
secondary
#9FCFA8
accent
#D76A51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151AC

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

Preview Lab → · Contrast checker → · Palette generator →

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