#C052A5#C052A5

#C052A5 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.171 H 338.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C052A5
RGBrgb(192, 82, 165)
HSLhsl(315, 47%, 54%)
HSVhsv(315, 57%, 75%)
CMYKcmyk(0%, 57.3%, 14.1%, 24.7%)
CIE-LABlab(51.79, 53.98, -23.66)
CIE-LCHlch(51.79, 58.94, 336.33°)
OKLaboklab(60.66% 0.1586 -0.0638)
OKLCHoklch(60.66% 0.171 338.1)
XYZxyz(31.5475, 19.9602, 37.7812)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052A5 #52C06D
analogous
#A452C0 #C052A5 #C0526E
triadic
#C052A5 #A5C052 #52A5C0
tetradic
#C052A5 #C0A452 #52C06D #526EC0
square
#C052A5 #C0A452 #52C06D #526EC0
split-complementary
#C052A5 #6EC052 #52C0A4
monochromatic
#6F285E #9C3984 #C052A5 #D07FBC #E1ACD4

Accessibility & contrast

On white

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

On black

4.99
#C052A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052A5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052A5#FFFFFF#000000##000000
##C052A51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#CA5674
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c052a5;
/* rgb */ color: rgb(192, 82, 165);
/* oklch */ color: oklch(60.7% 0.171 338.1);
Tailwind
colors: {
  custom: {
    50: '#d688c0',
    500: '#c052a5',
    950: '#000000',
  },
}
SCSS
$custom: #c052a5;
$custom-light: #d688c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c052a5",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 314.727,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.17091,
    "h": 338.1
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C052A5

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

Preview Lab → · Contrast checker → · Palette generator →

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