#C052A7#C052A7

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

Color values

HEX#C052A7
RGBrgb(192, 82, 167)
HSLhsl(314, 47%, 54%)
HSVhsv(314, 57%, 75%)
CMYKcmyk(0%, 57.3%, 13%, 24.7%)
CIE-LABlab(51.88, 54.29, -24.70)
CIE-LCHlch(51.88, 59.65, 335.54°)
OKLaboklab(60.75% 0.159 -0.0668)
OKLCHoklch(60.75% 0.172 337.2)
XYZxyz(31.7309, 20.0335, 38.7474)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052A7 #52C06B
analogous
#A252C0 #C052A7 #C05270
triadic
#C052A7 #A7C052 #52A7C0
tetradic
#C052A7 #C0A252 #52C06B #5270C0
square
#C052A7 #C0A252 #52C06B #5270C0
split-complementary
#C052A7 #70C052 #52C0A2
monochromatic
#6F285F #9C3985 #C052A7 #D07FBE #E1ACD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C052A7#FFFFFF#000000##000000
##C052A71.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)
#5571AA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#C95775
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052a7;
/* rgb */ color: rgb(192, 82, 167);
/* oklch */ color: oklch(60.8% 0.172 337.2);
Tailwind
colors: {
  custom: {
    50: '#d688c1',
    500: '#c052a7',
    950: '#000000',
  },
}
SCSS
$custom: #c052a7;
$custom-light: #d688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c052a7",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 313.636,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.1724,
    "h": 337.2
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C052A7

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

Preview Lab → · Contrast checker → · Palette generator →

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