#C252AA#C252AA

#C252AA is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.176 H 336.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C252AA
RGBrgb(194, 82, 170)
HSLhsl(313, 48%, 54%)
HSVhsv(313, 58%, 76%)
CMYKcmyk(0%, 57.7%, 12.4%, 23.9%)
CIE-LABlab(52.30, 55.33, -25.78)
CIE-LCHlch(52.30, 61.05, 335.02°)
OKLaboklab(61.16% 0.1617 -0.0698)
OKLCHoklch(61.16% 0.176 336.6)
XYZxyz(32.5215, 20.4087, 40.2488)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252AA #52C26A
analogous
#A252C2 #C252AA #C25272
triadic
#C252AA #AAC252 #52AAC2
tetradic
#C252AA #C2A252 #52C26A #5272C2
square
#C252AA #C2A252 #52C26A #5272C2
split-complementary
#C252AA #72C252 #52C2A2
monochromatic
#722862 #9F3889 #C252AA #D27FC0 #E2ACD6

Accessibility & contrast

On white

4.13
#C252AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C252AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252AA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252AA#FFFFFF#000000##000000
##C252AA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#CB5777
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c252aa;
/* rgb */ color: rgb(194, 82, 170);
/* oklch */ color: oklch(61.2% 0.176 336.6);
Tailwind
colors: {
  custom: {
    50: '#d788c3',
    500: '#c252aa',
    950: '#000000',
  },
}
SCSS
$custom: #c252aa;
$custom-light: #d788c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c252aa",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 312.857,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.1761,
    "h": 336.6
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#C252AA
secondary
#A0D0AA
accent
#D76D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C252AA

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

Preview Lab → · Contrast checker → · Palette generator →

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