#C052A8#C052A8

#C052A8 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.173 H 336.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C052A8
RGBrgb(192, 82, 168)
HSLhsl(313, 47%, 54%)
HSVhsv(313, 57%, 75%)
CMYKcmyk(0%, 57.3%, 12.5%, 24.7%)
CIE-LABlab(51.92, 54.45, -25.22)
CIE-LCHlch(51.92, 60.01, 335.14°)
OKLaboklab(60.8% 0.1591 -0.0682)
OKLCHoklch(60.8% 0.173 336.8)
XYZxyz(31.8237, 20.0707, 39.2361)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052A8 #52C06A
analogous
#A152C0 #C052A8 #C05271
triadic
#C052A8 #A8C052 #52A8C0
tetradic
#C052A8 #C0A152 #52C06A #5271C0
square
#C052A8 #C0A152 #52C06A #5271C0
split-complementary
#C052A8 #71C052 #52C0A1
monochromatic
#6F2860 #9C3986 #C052A8 #D07FBF #E1ACD5

Accessibility & contrast

On white

4.19
#C052A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C052A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052A8#FFFFFF#000000##000000
##C052A81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#C95776
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052a8;
/* rgb */ color: rgb(192, 82, 168);
/* oklch */ color: oklch(60.8% 0.173 336.8);
Tailwind
colors: {
  custom: {
    50: '#d688c2',
    500: '#c052a8',
    950: '#000000',
  },
}
SCSS
$custom: #c052a8;
$custom-light: #d688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c052a8",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 313.091,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.17315,
    "h": 336.8
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#C052A8
secondary
#9FCEAA
accent
#D66F52
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C052A8

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

Preview Lab → · Contrast checker → · Palette generator →

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