#C151AE#C151AE

#C151AE is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.180 H 334.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C151AE
RGBrgb(193, 81, 174)
HSLhsl(310, 47%, 54%)
HSVhsv(310, 58%, 76%)
CMYKcmyk(0%, 58%, 9.8%, 24.3%)
CIE-LABlab(52.15, 56.14, -28.35)
CIE-LCHlch(52.15, 62.90, 333.20°)
OKLaboklab(61.08% 0.1626 -0.0771)
OKLCHoklch(61.08% 0.18 334.6)
XYZxyz(32.5749, 20.2807, 42.2351)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AE #51C164
analogous
#9C51C1 #C151AE #C15176
triadic
#C151AE #AEC151 #51AEC1
tetradic
#C151AE #C19C51 #51C164 #5176C1
square
#C151AE #C19C51 #51C164 #5176C1
split-complementary
#C151AE #76C151 #51C19C
monochromatic
#702864 #9D388C #C151AE #D17EC3 #E1ABD8

Accessibility & contrast

On white

4.15
#C151AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C151AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151AE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151AE#FFFFFF#000000##000000
##C151AE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#7382AB
Tritanopia (blue-blind)
#CA5878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151ae;
/* rgb */ color: rgb(193, 81, 174);
/* oklch */ color: oklch(61.1% 0.180 334.6);
Tailwind
colors: {
  custom: {
    50: '#d688c6',
    500: '#c151ae',
    950: '#000000',
  },
}
SCSS
$custom: #c151ae;
$custom-light: #d688c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c151ae",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 310.179,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.17999,
    "h": 334.6
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#C151AE
secondary
#9FCFA7
accent
#D76851
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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