#C052B2#C052B2

#C052B2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.181 H 332.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C052B2
RGBrgb(192, 82, 178)
HSLhsl(308, 47%, 54%)
HSVhsv(308, 57%, 75%)
CMYKcmyk(0%, 57.3%, 7.3%, 24.7%)
CIE-LABlab(52.35, 56.06, -30.39)
CIE-LCHlch(52.35, 63.77, 331.54°)
OKLaboklab(61.26% 0.1609 -0.0829)
OKLCHoklch(61.26% 0.181 332.7)
XYZxyz(32.7914, 20.4577, 44.3325)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052B2 #52C060
analogous
#9752C0 #C052B2 #C0527B
triadic
#C052B2 #B2C052 #52B2C0
tetradic
#C052B2 #C09752 #52C060 #527BC0
square
#C052B2 #C09752 #52C060 #527BC0
split-complementary
#C052B2 #7BC052 #52C097
monochromatic
#6F2866 #9C398F #C052B2 #D07FC6 #E1ACDA

Accessibility & contrast

On white

4.12
#C052B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C052B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052B2#FFFFFF#000000##000000
##C052B21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c052b2;
/* rgb */ color: rgb(192, 82, 178);
/* oklch */ color: oklch(61.3% 0.181 332.7);
Tailwind
colors: {
  custom: {
    50: '#d688c9',
    500: '#c052b2',
    950: '#000000',
  },
}
SCSS
$custom: #c052b2;
$custom-light: #d688c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c052b2",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 307.636,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.18098,
    "h": 332.7
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#C052B2
secondary
#9FCEA5
accent
#D66252
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052B2

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

Preview Lab → · Contrast checker → · Palette generator →

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