#C152AD#C152AD

#C152AD is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.178 H 335.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C152AD
RGBrgb(193, 82, 173)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 58%, 76%)
CMYKcmyk(0%, 57.5%, 10.4%, 24.3%)
CIE-LABlab(52.28, 55.53, -27.58)
CIE-LCHlch(52.28, 62.00, 333.59°)
OKLaboklab(61.16% 0.1611 -0.0749)
OKLCHoklch(61.16% 0.178 335.1)
XYZxyz(32.5526, 20.3916, 41.7485)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152AD #52C166
analogous
#9E52C1 #C152AD #C15276
triadic
#C152AD #ADC152 #52ADC1
tetradic
#C152AD #C19E52 #52C166 #5276C1
square
#C152AD #C19E52 #52C166 #5276C1
split-complementary
#C152AD #76C152 #52C19E
monochromatic
#702863 #9D388B #C152AD #D17FC2 #E1ACD8

Accessibility & contrast

On white

4.14
#C152AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C152AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152AD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152AD#FFFFFF#000000##000000
##C152AD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272B0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#CA5878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c152ad;
/* rgb */ color: rgb(193, 82, 173);
/* oklch */ color: oklch(61.2% 0.178 335.1);
Tailwind
colors: {
  custom: {
    50: '#d688c5',
    500: '#c152ad',
    950: '#000000',
  },
}
SCSS
$custom: #c152ad;
$custom-light: #d688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c152ad",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 310.811,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.1777,
    "h": 335.1
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#C152AD
secondary
#A0CFA8
accent
#D76951
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C152AD

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

Preview Lab → · Contrast checker → · Palette generator →

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