#C151A5#C151A5

#C151A5 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.173 H 338.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C151A5
RGBrgb(193, 81, 165)
HSLhsl(315, 47%, 54%)
HSVhsv(315, 58%, 76%)
CMYKcmyk(0%, 58%, 14.5%, 24.3%)
CIE-LABlab(51.77, 54.73, -23.68)
CIE-LCHlch(51.77, 59.63, 336.60°)
OKLaboklab(60.68% 0.161 -0.0638)
OKLCHoklch(60.68% 0.173 338.4)
XYZxyz(31.7267, 19.9415, 37.7681)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A5 #51C16D
analogous
#A551C1 #C151A5 #C1516D
triadic
#C151A5 #A5C151 #51A5C1
tetradic
#C151A5 #C1A551 #51C16D #516DC1
square
#C151A5 #C1A551 #51C16D #516DC1
split-complementary
#C151A5 #6DC151 #51C1A5
monochromatic
#70285E #9D3884 #C151A5 #D17EBC #E1ABD4

Accessibility & contrast

On white

4.21
#C151A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C151A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A5#FFFFFF#000000##000000
##C151A51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c151a5;
/* rgb */ color: rgb(193, 81, 165);
/* oklch */ color: oklch(60.7% 0.173 338.4);
Tailwind
colors: {
  custom: {
    50: '#d688c0',
    500: '#c151a5',
    950: '#000000',
  },
}
SCSS
$custom: #c151a5;
$custom-light: #d688c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a5",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 315,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.17318,
    "h": 338.4
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C151A5

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

Preview Lab → · Contrast checker → · Palette generator →

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