#C052B1#C052B1

#C052B1 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.180 H 333.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C052B1
RGBrgb(192, 82, 177)
HSLhsl(308, 47%, 54%)
HSVhsv(308, 57%, 75%)
CMYKcmyk(0%, 57.3%, 7.8%, 24.7%)
CIE-LABlab(52.31, 55.90, -29.88)
CIE-LCHlch(52.31, 63.38, 331.88°)
OKLaboklab(61.21% 0.1607 -0.0815)
OKLCHoklch(61.21% 0.18 333.1)
XYZxyz(32.6914, 20.4177, 43.8056)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052B1 #52C061
analogous
#9852C0 #C052B1 #C0527A
triadic
#C052B1 #B1C052 #52B1C0
tetradic
#C052B1 #C09852 #52C061 #527AC0
square
#C052B1 #C09852 #52C061 #527AC0
split-complementary
#C052B1 #7AC052 #52C098
monochromatic
#6F2865 #9C398E #C052B1 #D07FC5 #E1ACD9

Accessibility & contrast

On white

4.13
#C052B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C052B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052B1#FFFFFF#000000##000000
##C052B11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B4
Deuteranopia (green-blind)
#7183AE
Tritanopia (blue-blind)
#C85A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c052b1;
/* rgb */ color: rgb(192, 82, 177);
/* oklch */ color: oklch(61.2% 0.180 333.1);
Tailwind
colors: {
  custom: {
    50: '#d688c8',
    500: '#c052b1',
    950: '#000000',
  },
}
SCSS
$custom: #c052b1;
$custom-light: #d688c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c052b1",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 308.182,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.18019,
    "h": 333.1
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#C052B1
secondary
#9FCEA6
accent
#D66452
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052B1

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

Preview Lab → · Contrast checker → · Palette generator →

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