#C052B8#C052B8

#C052B8 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.186 H 330.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C052B8
RGBrgb(192, 82, 184)
HSLhsl(304, 47%, 54%)
HSVhsv(304, 57%, 75%)
CMYKcmyk(0%, 57.3%, 4.2%, 24.7%)
CIE-LABlab(52.62, 57.07, -33.45)
CIE-LCHlch(52.62, 66.15, 329.63°)
OKLaboklab(61.55% 0.1617 -0.0917)
OKLCHoklch(61.55% 0.186 330.5)
XYZxyz(33.4070, 20.7040, 47.5748)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052B8 #52C05A
analogous
#9152C0 #C052B8 #C05281
triadic
#C052B8 #B8C052 #52B8C0
tetradic
#C052B8 #C09152 #52C05A #5281C0
square
#C052B8 #C09152 #52C05A #5281C0
split-complementary
#C052B8 #81C052 #52C091
monochromatic
#6F286A #9C3995 #C052B8 #D07FCA #E1ACDD

Accessibility & contrast

On white

4.09
#C052B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C052B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052B8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052B8#FFFFFF#000000##000000
##C052B81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#C75C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c052b8;
/* rgb */ color: rgb(192, 82, 184);
/* oklch */ color: oklch(61.5% 0.186 330.5);
Tailwind
colors: {
  custom: {
    50: '#d688cd',
    500: '#c052b8',
    950: '#000000',
  },
}
SCSS
$custom: #c052b8;
$custom-light: #d688cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c052b8",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 304.364,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.1859,
    "h": 330.5
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#C052B8
secondary
#9FCEA3
accent
#D65B52
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052B8

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

Preview Lab → · Contrast checker → · Palette generator →

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