#C151AB#C151AB

#C151AB is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.178 H 335.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C151AB
RGBrgb(193, 81, 171)
HSLhsl(312, 47%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 58%, 11.4%, 24.3%)
CIE-LABlab(52.02, 55.66, -26.80)
CIE-LCHlch(52.02, 61.78, 334.29°)
OKLaboklab(60.95% 0.1621 -0.0727)
OKLCHoklch(60.95% 0.178 335.8)
XYZxyz(32.2857, 20.1651, 40.7120)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AB #51C167
analogous
#9F51C1 #C151AB #C15173
triadic
#C151AB #ABC151 #51ABC1
tetradic
#C151AB #C19F51 #51C167 #5173C1
square
#C151AB #C19F51 #51C167 #5173C1
split-complementary
#C151AB #73C151 #51C19F
monochromatic
#702862 #9D3889 #C151AB #D17EC1 #E1ABD7

Accessibility & contrast

On white

4.17
#C151AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C151AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151AB#FFFFFF#000000##000000
##C151AB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#CA5777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151ab;
/* rgb */ color: rgb(193, 81, 171);
/* oklch */ color: oklch(60.9% 0.178 335.8);
Tailwind
colors: {
  custom: {
    50: '#d688c4',
    500: '#c151ab',
    950: '#000000',
  },
}
SCSS
$custom: #c151ab;
$custom-light: #d688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c151ab",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 311.786,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.17767,
    "h": 335.8
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#C151AB
secondary
#9FCFA8
accent
#D76B51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151AB

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

Preview Lab → · Contrast checker → · Palette generator →

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