#C151A9#C151A9

#C151A9 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.176 H 336.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C151A9
RGBrgb(193, 81, 169)
HSLhsl(313, 47%, 54%)
HSVhsv(313, 58%, 76%)
CMYKcmyk(0%, 58%, 12.4%, 24.3%)
CIE-LABlab(51.94, 55.35, -25.76)
CIE-LCHlch(51.94, 61.05, 335.04°)
OKLaboklab(60.85% 0.1618 -0.0698)
OKLCHoklch(60.85% 0.176 336.7)
XYZxyz(32.0965, 20.0894, 39.7156)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A9 #51C169
analogous
#A151C1 #C151A9 #C15171
triadic
#C151A9 #A9C151 #51A9C1
tetradic
#C151A9 #C1A151 #51C169 #5171C1
square
#C151A9 #C1A151 #51C169 #5171C1
split-complementary
#C151A9 #71C151 #51C1A1
monochromatic
#702860 #9D3887 #C151A9 #D17EBF #E1ABD6

Accessibility & contrast

On white

4.19
#C151A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C151A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A9#FFFFFF#000000##000000
##C151A91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#7482A6
Tritanopia (blue-blind)
#CA5676
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151a9;
/* rgb */ color: rgb(193, 81, 169);
/* oklch */ color: oklch(60.9% 0.176 336.7);
Tailwind
colors: {
  custom: {
    50: '#d688c2',
    500: '#c151a9',
    950: '#000000',
  },
}
SCSS
$custom: #c151a9;
$custom-light: #d688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a9",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 312.857,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.17616,
    "h": 336.7
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#C151A9
secondary
#9FCFA9
accent
#D76E51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151A9

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

Preview Lab → · Contrast checker → · Palette generator →

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