#C052AA#C052AA

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

Color values

HEX#C052AA
RGBrgb(192, 82, 170)
HSLhsl(312, 47%, 54%)
HSVhsv(312, 57%, 75%)
CMYKcmyk(0%, 57.3%, 11.5%, 24.7%)
CIE-LABlab(52.00, 54.77, -26.26)
CIE-LCHlch(52.00, 60.74, 334.38°)
OKLaboklab(60.89% 0.1595 -0.0712)
OKLCHoklch(60.89% 0.175 335.9)
XYZxyz(32.0115, 20.1458, 40.2249)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052AA #52C068
analogous
#9F52C0 #C052AA #C05273
triadic
#C052AA #AAC052 #52AAC0
tetradic
#C052AA #C09F52 #52C068 #5273C0
square
#C052AA #C09F52 #52C068 #5273C0
split-complementary
#C052AA #73C052 #52C09F
monochromatic
#6F2861 #9C3988 #C052AA #D07FC0 #E1ACD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C052AA#FFFFFF#000000##000000
##C052AA1.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)
#C95877
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052aa;
/* rgb */ color: rgb(192, 82, 170);
/* oklch */ color: oklch(60.9% 0.175 335.9);
Tailwind
colors: {
  custom: {
    50: '#d688c3',
    500: '#c052aa',
    950: '#000000',
  },
}
SCSS
$custom: #c052aa;
$custom-light: #d688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c052aa",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 312,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.17468,
    "h": 335.9
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#C052AA
secondary
#9FCEA9
accent
#D66C52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C052AA

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

Preview Lab → · Contrast checker → · Palette generator →

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