#C151AD#C151AD

#C151AD is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.179 H 335.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C151AD
RGBrgb(193, 81, 173)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 58%, 76%)
CMYKcmyk(0%, 58%, 10.4%, 24.3%)
CIE-LABlab(52.11, 55.98, -27.84)
CIE-LCHlch(52.11, 62.52, 333.56°)
OKLaboklab(61.04% 0.1625 -0.0756)
OKLCHoklch(61.04% 0.179 335)
XYZxyz(32.4778, 20.2419, 41.7236)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AD #51C165
analogous
#9D51C1 #C151AD #C15175
triadic
#C151AD #ADC151 #51ADC1
tetradic
#C151AD #C19D51 #51C165 #5175C1
square
#C151AD #C19D51 #51C165 #5175C1
split-complementary
#C151AD #75C151 #51C19D
monochromatic
#702863 #9D388B #C151AD #D17EC2 #E1ABD8

Accessibility & contrast

On white

4.16
#C151AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C151AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151AD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151AD#FFFFFF#000000##000000
##C151AD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5172B0
Deuteranopia (green-blind)
#7382AA
Tritanopia (blue-blind)
#CA5878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151ad;
/* rgb */ color: rgb(193, 81, 173);
/* oklch */ color: oklch(61.0% 0.179 335.0);
Tailwind
colors: {
  custom: {
    50: '#d688c5',
    500: '#c151ad',
    950: '#000000',
  },
}
SCSS
$custom: #c151ad;
$custom-light: #d688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c151ad",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 310.714,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.17921,
    "h": 335
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#C151AD
secondary
#9FCFA8
accent
#D76951
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151AD

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

Preview Lab → · Contrast checker → · Palette generator →

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