#C052B4#C052B4

#C052B4 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.183 H 332.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C052B4
RGBrgb(192, 82, 180)
HSLhsl(307, 47%, 54%)
HSVhsv(307, 57%, 75%)
CMYKcmyk(0%, 57.3%, 6.2%, 24.7%)
CIE-LABlab(52.44, 56.40, -31.41)
CIE-LCHlch(52.44, 64.55, 330.88°)
OKLaboklab(61.35% 0.1612 -0.0858)
OKLCHoklch(61.35% 0.183 332)
XYZxyz(32.9937, 20.5386, 45.3977)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052B4 #52C05E
analogous
#9552C0 #C052B4 #C0527D
triadic
#C052B4 #B4C052 #52B4C0
tetradic
#C052B4 #C09552 #52C05E #527DC0
square
#C052B4 #C09552 #52C05E #527DC0
split-complementary
#C052B4 #7DC052 #52C095
monochromatic
#6F2867 #9C3991 #C052B4 #D07FC7 #E1ACDB

Accessibility & contrast

On white

4.11
#C052B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C052B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052B4#FFFFFF#000000##000000
##C052B41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B7
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#C75B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c052b4;
/* rgb */ color: rgb(192, 82, 180);
/* oklch */ color: oklch(61.4% 0.183 332.0);
Tailwind
colors: {
  custom: {
    50: '#d688ca',
    500: '#c052b4',
    950: '#000000',
  },
}
SCSS
$custom: #c052b4;
$custom-light: #d688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c052b4",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 306.545,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.1826,
    "h": 332
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C052B4

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

Preview Lab → · Contrast checker → · Palette generator →

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