#C152AA#C152AA

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

Color values

HEX#C152AA
RGBrgb(193, 82, 170)
HSLhsl(312, 47%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 57.5%, 11.9%, 24.3%)
CIE-LABlab(52.15, 55.05, -26.02)
CIE-LCHlch(52.15, 60.89, 334.70°)
OKLaboklab(61.02% 0.1606 -0.0705)
OKLCHoklch(61.02% 0.175 336.3)
XYZxyz(32.2656, 20.2768, 40.2368)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152AA #52C169
analogous
#A152C1 #C152AA #C15273
triadic
#C152AA #AAC152 #52AAC1
tetradic
#C152AA #C1A152 #52C169 #5273C1
square
#C152AA #C1A152 #52C169 #5273C1
split-complementary
#C152AA #73C152 #52C1A1
monochromatic
#702861 #9D3888 #C152AA #D17FC0 #E1ACD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C152AA#FFFFFF#000000##000000
##C152AA1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#CA5777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c152aa;
/* rgb */ color: rgb(193, 82, 170);
/* oklch */ color: oklch(61.0% 0.175 336.3);
Tailwind
colors: {
  custom: {
    50: '#d688c3',
    500: '#c152aa',
    950: '#000000',
  },
}
SCSS
$custom: #c152aa;
$custom-light: #d688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c152aa",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 312.432,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.17539,
    "h": 336.3
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#C152AA
secondary
#A0CFAA
accent
#D76D51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C152AA

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

Preview Lab → · Contrast checker → · Palette generator →

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