#C151A4#C151A4

#C151A4 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.172 H 338.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C151A4
RGBrgb(193, 81, 164)
HSLhsl(316, 47%, 54%)
HSVhsv(316, 58%, 76%)
CMYKcmyk(0%, 58%, 15%, 24.3%)
CIE-LABlab(51.73, 54.57, -23.15)
CIE-LCHlch(51.73, 59.28, 337.01°)
OKLaboklab(60.63% 0.1608 -0.0624)
OKLCHoklch(60.63% 0.172 338.8)
XYZxyz(31.6361, 19.9052, 37.2906)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A4 #51C16E
analogous
#A651C1 #C151A4 #C1516C
triadic
#C151A4 #A4C151 #51A4C1
tetradic
#C151A4 #C1A651 #51C16E #516CC1
square
#C151A4 #C1A651 #51C16E #516CC1
split-complementary
#C151A4 #6CC151 #51C1A6
monochromatic
#70285D #9D3883 #C151A4 #D17EBC #E1ABD3

Accessibility & contrast

On white

4.22
#C151A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C151A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A4#FFFFFF#000000##000000
##C151A41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A7
Deuteranopia (green-blind)
#7682A1
Tritanopia (blue-blind)
#CB5473
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c151a4;
/* rgb */ color: rgb(193, 81, 164);
/* oklch */ color: oklch(60.6% 0.172 338.8);
Tailwind
colors: {
  custom: {
    50: '#d788bf',
    500: '#c151a4',
    950: '#000000',
  },
}
SCSS
$custom: #c151a4;
$custom-light: #d788bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a4",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 315.536,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.17246,
    "h": 338.8
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#C151A4
secondary
#9FCFAB
accent
#D77451
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151A4

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

Preview Lab → · Contrast checker → · Palette generator →

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