#C052B3#C052B3

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

Color values

HEX#C052B3
RGBrgb(192, 82, 179)
HSLhsl(307, 47%, 54%)
HSVhsv(307, 57%, 75%)
CMYKcmyk(0%, 57.3%, 6.8%, 24.7%)
CIE-LABlab(52.40, 56.23, -30.90)
CIE-LCHlch(52.40, 64.16, 331.21°)
OKLaboklab(61.3% 0.161 -0.0844)
OKLCHoklch(61.3% 0.182 332.3)
XYZxyz(32.8922, 20.4980, 44.8632)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052B3 #52C05F
analogous
#9652C0 #C052B3 #C0527C
triadic
#C052B3 #B3C052 #52B3C0
tetradic
#C052B3 #C09652 #52C05F #527CC0
square
#C052B3 #C09652 #52C05F #527CC0
split-complementary
#C052B3 #7CC052 #52C096
monochromatic
#6F2867 #9C3990 #C052B3 #D07FC7 #E1ACDA

Accessibility & contrast

On white

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

On black

5.10
#C052B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052B3#FFFFFF#000000##000000
##C052B31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#7083B0
Tritanopia (blue-blind)
#C85B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c052b3;
/* rgb */ color: rgb(192, 82, 179);
/* oklch */ color: oklch(61.3% 0.182 332.3);
Tailwind
colors: {
  custom: {
    50: '#d688ca',
    500: '#c052b3',
    950: '#000000',
  },
}
SCSS
$custom: #c052b3;
$custom-light: #d688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c052b3",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 307.091,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.1818,
    "h": 332.3
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C052B3

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

Preview Lab → · Contrast checker → · Palette generator →

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