#C252AC#C252AC

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

Color values

HEX#C252AC
RGBrgb(194, 82, 172)
HSLhsl(312, 48%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 57.7%, 11.3%, 23.9%)
CIE-LABlab(52.38, 55.65, -26.82)
CIE-LCHlch(52.38, 61.78, 334.27°)
OKLaboklab(61.25% 0.1621 -0.0727)
OKLCHoklch(61.25% 0.178 335.8)
XYZxyz(32.7121, 20.4850, 41.2528)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252AC #52C268
analogous
#A052C2 #C252AC #C25274
triadic
#C252AC #ACC252 #52ACC2
tetradic
#C252AC #C2A052 #52C268 #5274C2
square
#C252AC #C2A052 #52C268 #5274C2
split-complementary
#C252AC #74C252 #52C2A0
monochromatic
#722863 #9F388B #C252AC #D27FC2 #E2ACD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C252AC#FFFFFF#000000##000000
##C252AC1.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)
#5372AF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#CB5878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c252ac;
/* rgb */ color: rgb(194, 82, 172);
/* oklch */ color: oklch(61.3% 0.178 335.8);
Tailwind
colors: {
  custom: {
    50: '#d788c5',
    500: '#c252ac',
    950: '#000000',
  },
}
SCSS
$custom: #c252ac;
$custom-light: #d788c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ac",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 311.786,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.17762,
    "h": 335.8
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#C252AC
secondary
#A0D0A9
accent
#D76B50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C252AC

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

Preview Lab → · Contrast checker → · Palette generator →

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