#C052AE#C052AE

#C052AE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.178 H 334.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C052AE
RGBrgb(192, 82, 174)
HSLhsl(310, 47%, 54%)
HSVhsv(310, 57%, 75%)
CMYKcmyk(0%, 57.3%, 9.4%, 24.7%)
CIE-LABlab(52.17, 55.41, -28.33)
CIE-LCHlch(52.17, 62.23, 332.92°)
OKLaboklab(61.07% 0.1602 -0.0771)
OKLCHoklch(61.07% 0.178 334.3)
XYZxyz(32.3956, 20.2994, 42.2481)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052AE #52C064
analogous
#9B52C0 #C052AE #C05277
triadic
#C052AE #AEC052 #52AEC0
tetradic
#C052AE #C09B52 #52C064 #5277C0
square
#C052AE #C09B52 #52C064 #5277C0
split-complementary
#C052AE #77C052 #52C09B
monochromatic
#6F2864 #9C398C #C052AE #D07FC3 #E1ACD8

Accessibility & contrast

On white

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

On black

5.06
#C052AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052AE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052AE#FFFFFF#000000##000000
##C052AE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5172B1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#C85978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052ae;
/* rgb */ color: rgb(192, 82, 174);
/* oklch */ color: oklch(61.1% 0.178 334.3);
Tailwind
colors: {
  custom: {
    50: '#d688c6',
    500: '#c052ae',
    950: '#000000',
  },
}
SCSS
$custom: #c052ae;
$custom-light: #d688c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c052ae",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 309.818,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.1778,
    "h": 334.3
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#C052AE
secondary
#9FCEA7
accent
#D66752
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052AE

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

Preview Lab → · Contrast checker → · Palette generator →

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