#C252A2#C252A2

#C252A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 340.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C252A2
RGBrgb(194, 82, 162)
HSLhsl(317, 48%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 57.7%, 16.5%, 23.9%)
CIE-LABlab(51.97, 54.10, -21.60)
CIE-LCHlch(51.97, 58.26, 338.23°)
OKLaboklab(60.81% 0.1601 -0.058)
OKLCHoklch(60.81% 0.17 340.1)
XYZxyz(31.7876, 20.1152, 36.3839)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252A2 #52C272
analogous
#AA52C2 #C252A2 #C2526A
triadic
#C252A2 #A2C252 #52A2C2
tetradic
#C252A2 #C2AA52 #52C272 #526AC2
square
#C252A2 #C2AA52 #52C272 #526AC2
split-complementary
#C252A2 #6AC252 #52C2AA
monochromatic
#72285D #9F3881 #C252A2 #D27FBA #E2ACD3

Accessibility & contrast

On white

4.18
#C252A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C252A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252A2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252A2#FFFFFF#000000##000000
##C252A21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#CC5473
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c252a2;
/* rgb */ color: rgb(194, 82, 162);
/* oklch */ color: oklch(60.8% 0.170 340.1);
Tailwind
colors: {
  custom: {
    50: '#d788bd',
    500: '#c252a2',
    950: '#000000',
  },
}
SCSS
$custom: #c252a2;
$custom-light: #d788bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c252a2",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 317.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.17025,
    "h": 340.1
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#C252A2
secondary
#A0D0AE
accent
#D77750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C252A2

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

Preview Lab → · Contrast checker → · Palette generator →

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