#C151A7#C151A7

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

Color values

HEX#C151A7
RGBrgb(193, 81, 167)
HSLhsl(314, 47%, 54%)
HSVhsv(314, 58%, 76%)
CMYKcmyk(0%, 58%, 13.5%, 24.3%)
CIE-LABlab(51.85, 55.04, -24.72)
CIE-LCHlch(51.85, 60.33, 335.81°)
OKLaboklab(60.77% 0.1614 -0.0668)
OKLCHoklch(60.77% 0.175 337.5)
XYZxyz(31.9102, 20.0149, 38.7343)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A7 #51C16B
analogous
#A351C1 #C151A7 #C1516F
triadic
#C151A7 #A7C151 #51A7C1
tetradic
#C151A7 #C1A351 #51C16B #516FC1
square
#C151A7 #C1A351 #51C16B #516FC1
split-complementary
#C151A7 #6FC151 #51C1A3
monochromatic
#70285F #9D3885 #C151A7 #D17EBE #E1ABD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151A7#FFFFFF#000000##000000
##C151A71.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)
#5471AA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#CB5575
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151a7;
/* rgb */ color: rgb(193, 81, 167);
/* oklch */ color: oklch(60.8% 0.175 337.5);
Tailwind
colors: {
  custom: {
    50: '#d688c1',
    500: '#c151a7',
    950: '#000000',
  },
}
SCSS
$custom: #c151a7;
$custom-light: #d688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a7",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 313.929,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.17466,
    "h": 337.5
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C151A7

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

Preview Lab → · Contrast checker → · Palette generator →

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