#C052AF#C052AF

#C052AF is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.179 H 333.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C052AF
RGBrgb(192, 82, 175)
HSLhsl(309, 47%, 54%)
HSVhsv(309, 57%, 75%)
CMYKcmyk(0%, 57.3%, 8.9%, 24.7%)
CIE-LABlab(52.22, 55.57, -28.85)
CIE-LCHlch(52.22, 62.61, 332.57°)
OKLaboklab(61.11% 0.1604 -0.0785)
OKLCHoklch(61.11% 0.179 333.9)
XYZxyz(32.4935, 20.3386, 42.7634)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052AF #52C063
analogous
#9A52C0 #C052AF #C05278
triadic
#C052AF #AFC052 #52AFC0
tetradic
#C052AF #C09A52 #52C063 #5278C0
square
#C052AF #C09A52 #52C063 #5278C0
split-complementary
#C052AF #78C052 #52C09A
monochromatic
#6F2864 #9C398D #C052AF #D07FC4 #E1ACD8

Accessibility & contrast

On white

4.14
#C052AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C052AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052AF#FFFFFF#000000##000000
##C052AF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#C85979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c052af;
/* rgb */ color: rgb(192, 82, 175);
/* oklch */ color: oklch(61.1% 0.179 333.9);
Tailwind
colors: {
  custom: {
    50: '#d688c7',
    500: '#c052af',
    950: '#000000',
  },
}
SCSS
$custom: #c052af;
$custom-light: #d688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c052af",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 309.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.17858,
    "h": 333.9
  },
  "luminance": 0.20336
}

Semantic roles & 50–950 ramp

primary
#C052AF
secondary
#9FCEA7
accent
#D66652
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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