#C052AC#C052AC

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

Color values

HEX#C052AC
RGBrgb(192, 82, 172)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 57%, 75%)
CMYKcmyk(0%, 57.3%, 10.4%, 24.7%)
CIE-LABlab(52.09, 55.09, -27.30)
CIE-LCHlch(52.09, 61.48, 333.64°)
OKLaboklab(60.98% 0.1599 -0.0741)
OKLCHoklch(60.98% 0.176 335.1)
XYZxyz(32.2021, 20.2220, 41.2289)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052AC #52C066
analogous
#9D52C0 #C052AC #C05275
triadic
#C052AC #ACC052 #52ACC0
tetradic
#C052AC #C09D52 #52C066 #5275C0
square
#C052AC #C09D52 #52C066 #5275C0
split-complementary
#C052AC #75C052 #52C09D
monochromatic
#6F2862 #9C398A #C052AC #D07FC2 #E1ACD7

Accessibility & contrast

On white

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

On black

5.04
#C052AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052AC#FFFFFF#000000##000000
##C052AC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#C95878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052ac;
/* rgb */ color: rgb(192, 82, 172);
/* oklch */ color: oklch(61.0% 0.176 335.1);
Tailwind
colors: {
  custom: {
    50: '#d688c5',
    500: '#c052ac',
    950: '#000000',
  },
}
SCSS
$custom: #c052ac;
$custom-light: #d688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c052ac",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 310.909,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.17623,
    "h": 335.1
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#C052AC
secondary
#9FCEA8
accent
#D66A52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052AC

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

Preview Lab → · Contrast checker → · Palette generator →

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