#C151AA#C151AA

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

Color values

HEX#C151AA
RGBrgb(193, 81, 170)
HSLhsl(312, 47%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 58%, 11.9%, 24.3%)
CIE-LABlab(51.98, 55.51, -26.28)
CIE-LCHlch(51.98, 61.41, 334.66°)
OKLaboklab(60.9% 0.1619 -0.0712)
OKLCHoklch(60.9% 0.177 336.3)
XYZxyz(32.1907, 20.1271, 40.2119)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AA #51C168
analogous
#A051C1 #C151AA #C15172
triadic
#C151AA #AAC151 #51AAC1
tetradic
#C151AA #C1A051 #51C168 #5172C1
square
#C151AA #C1A051 #51C168 #5172C1
split-complementary
#C151AA #72C151 #51C1A0
monochromatic
#702861 #9D3888 #C151AA #D17EC0 #E1ABD6

Accessibility & contrast

On white

4.18
#C151AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151AA#FFFFFF#000000##000000
##C151AA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#CA5676
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151aa;
/* rgb */ color: rgb(193, 81, 170);
/* oklch */ color: oklch(60.9% 0.177 336.3);
Tailwind
colors: {
  custom: {
    50: '#d688c3',
    500: '#c151aa',
    950: '#000000',
  },
}
SCSS
$custom: #c151aa;
$custom-light: #d688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c151aa",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 312.321,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.17691,
    "h": 336.3
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#C151AA
secondary
#9FCFA9
accent
#D76C51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151AA

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

Preview Lab → · Contrast checker → · Palette generator →

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