#C052A2#C052A2

#C052A2 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.169 H 339.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C052A2
RGBrgb(192, 82, 162)
HSLhsl(316, 47%, 54%)
HSVhsv(316, 57%, 75%)
CMYKcmyk(0%, 57.3%, 15.6%, 24.7%)
CIE-LABlab(51.67, 53.52, -22.08)
CIE-LCHlch(51.67, 57.90, 337.58°)
OKLaboklab(60.53% 0.1579 -0.0594)
OKLCHoklch(60.53% 0.169 339.4)
XYZxyz(31.2776, 19.8522, 36.3599)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052A2 #52C070
analogous
#A752C0 #C052A2 #C0526B
triadic
#C052A2 #A2C052 #52A2C0
tetradic
#C052A2 #C0A752 #52C070 #526BC0
square
#C052A2 #C0A752 #52C070 #526BC0
split-complementary
#C052A2 #6BC052 #52C0A7
monochromatic
#6F285C #9C3981 #C052A2 #D07FBA #E1ACD2

Accessibility & contrast

On white

4.23
#C052A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C052A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052A2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052A2#FFFFFF#000000##000000
##C052A21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#CA5573
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c052a2;
/* rgb */ color: rgb(192, 82, 162);
/* oklch */ color: oklch(60.5% 0.169 339.4);
Tailwind
colors: {
  custom: {
    50: '#d688bd',
    500: '#c052a2',
    950: '#000000',
  },
}
SCSS
$custom: #c052a2;
$custom-light: #d688bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c052a2",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 316.364,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.16873,
    "h": 339.4
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#C052A2
secondary
#9FCEAC
accent
#D67652
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C052A2

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

Preview Lab → · Contrast checker → · Palette generator →

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