#C052AB#C052AB

#C052AB is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.175 H 335.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C052AB
RGBrgb(192, 82, 171)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 57%, 75%)
CMYKcmyk(0%, 57.3%, 10.9%, 24.7%)
CIE-LABlab(52.04, 54.93, -26.78)
CIE-LCHlch(52.04, 61.11, 334.01°)
OKLaboklab(60.93% 0.1597 -0.0727)
OKLCHoklch(60.93% 0.175 335.5)
XYZxyz(32.1064, 20.1837, 40.7250)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052AB #52C067
analogous
#9E52C0 #C052AB #C05274
triadic
#C052AB #ABC052 #52ABC0
tetradic
#C052AB #C09E52 #52C067 #5274C0
square
#C052AB #C09E52 #52C067 #5274C0
split-complementary
#C052AB #74C052 #52C09E
monochromatic
#6F2862 #9C3989 #C052AB #D07FC1 #E1ACD7

Accessibility & contrast

On white

4.17
#C052AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C052AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052AB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052AB#FFFFFF#000000##000000
##C052AB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#C95877
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c052ab;
/* rgb */ color: rgb(192, 82, 171);
/* oklch */ color: oklch(60.9% 0.175 335.5);
Tailwind
colors: {
  custom: {
    50: '#d688c4',
    500: '#c052ab',
    950: '#000000',
  },
}
SCSS
$custom: #c052ab;
$custom-light: #d688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c052ab",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 311.455,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.17545,
    "h": 335.5
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#C052AB
secondary
#9FCEA8
accent
#D66B52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C052AB

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

Preview Lab → · Contrast checker → · Palette generator →

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