#C052BB#C052BB

#C052BB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.188 H 329.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C052BB
RGBrgb(192, 82, 187)
HSLhsl(303, 47%, 54%)
HSVhsv(303, 57%, 75%)
CMYKcmyk(0%, 57.3%, 2.6%, 24.7%)
CIE-LABlab(52.76, 57.58, -34.96)
CIE-LCHlch(52.76, 67.36, 328.73°)
OKLaboklab(61.69% 0.1621 -0.096)
OKLCHoklch(61.69% 0.188 329.4)
XYZxyz(33.7248, 20.8311, 49.2486)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052BB #52C057
analogous
#8E52C0 #C052BB #C05284
triadic
#C052BB #BBC052 #52BBC0
tetradic
#C052BB #C08E52 #52C057 #5284C0
square
#C052BB #C08E52 #52C057 #5284C0
split-complementary
#C052BB #84C052 #52C08E
monochromatic
#6F286C #9C3997 #C052BB #D07FCD #E1ACDE

Accessibility & contrast

On white

4.07
#C052BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C052BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052BB#FFFFFF#000000##000000
##C052BB1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#C65D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c052bb;
/* rgb */ color: rgb(192, 82, 187);
/* oklch */ color: oklch(61.7% 0.188 329.4);
Tailwind
colors: {
  custom: {
    50: '#d689d0',
    500: '#c052bb',
    950: '#000000',
  },
}
SCSS
$custom: #c052bb;
$custom-light: #d689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c052bb",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 302.727,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.18842,
    "h": 329.4
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#C052BB
secondary
#9FCEA2
accent
#D65852
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C052BB

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

Preview Lab → · Contrast checker → · Palette generator →

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