#C052A4#C052A4

#C052A4 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.170 H 338.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C052A4
RGBrgb(192, 82, 164)
HSLhsl(315, 47%, 54%)
HSVhsv(315, 57%, 75%)
CMYKcmyk(0%, 57.3%, 14.6%, 24.7%)
CIE-LABlab(51.75, 53.83, -23.13)
CIE-LCHlch(51.75, 58.59, 336.74°)
OKLaboklab(60.62% 0.1584 -0.0623)
OKLCHoklch(60.62% 0.17 338.5)
XYZxyz(31.4568, 19.9239, 37.3037)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052A4 #52C06E
analogous
#A552C0 #C052A4 #C0526D
triadic
#C052A4 #A4C052 #52A4C0
tetradic
#C052A4 #C0A552 #52C06E #526DC0
square
#C052A4 #C0A552 #52C06E #526DC0
split-complementary
#C052A4 #6DC052 #52C0A5
monochromatic
#6F285D #9C3983 #C052A4 #D07FBC #E1ACD3

Accessibility & contrast

On white

4.21
#C052A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C052A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052A4#FFFFFF#000000##000000
##C052A41.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A7
Deuteranopia (green-blind)
#7682A1
Tritanopia (blue-blind)
#CA5674
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c052a4;
/* rgb */ color: rgb(192, 82, 164);
/* oklch */ color: oklch(60.6% 0.170 338.5);
Tailwind
colors: {
  custom: {
    50: '#d688bf',
    500: '#c052a4',
    950: '#000000',
  },
}
SCSS
$custom: #c052a4;
$custom-light: #d688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c052a4",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 315.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.17018,
    "h": 338.5
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#C052A4
secondary
#9FCEAB
accent
#D67352
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C052A4

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

Preview Lab → · Contrast checker → · Palette generator →

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