#C151A8#C151A8

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

Color values

HEX#C151A8
RGBrgb(193, 81, 168)
HSLhsl(313, 47%, 54%)
HSVhsv(313, 58%, 76%)
CMYKcmyk(0%, 58%, 13%, 24.3%)
CIE-LABlab(51.90, 55.19, -25.24)
CIE-LCHlch(51.90, 60.69, 335.42°)
OKLaboklab(60.81% 0.1616 -0.0683)
OKLCHoklch(60.81% 0.175 337.1)
XYZxyz(32.0030, 20.0520, 39.2231)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A8 #51C16A
analogous
#A251C1 #C151A8 #C15170
triadic
#C151A8 #A8C151 #51A8C1
tetradic
#C151A8 #C1A251 #51C16A #5170C1
square
#C151A8 #C1A251 #51C16A #5170C1
split-complementary
#C151A8 #70C151 #51C1A2
monochromatic
#702860 #9D3886 #C151A8 #D17EBF #E1ABD5

Accessibility & contrast

On white

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

On black

5.01
#C151A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A8#FFFFFF#000000##000000
##C151A81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#CA5675
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151a8;
/* rgb */ color: rgb(193, 81, 168);
/* oklch */ color: oklch(60.8% 0.175 337.1);
Tailwind
colors: {
  custom: {
    50: '#d688c2',
    500: '#c151a8',
    950: '#000000',
  },
}
SCSS
$custom: #c151a8;
$custom-light: #d688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a8",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 313.393,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.17541,
    "h": 337.1
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C151A8

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

Preview Lab → · Contrast checker → · Palette generator →

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