#C24FA2#C24FA2

#C24FA2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.175 H 339.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C24FA2
RGBrgb(194, 79, 162)
HSLhsl(317, 49%, 54%)
HSVhsv(317, 59%, 76%)
CMYKcmyk(0%, 59.3%, 16.5%, 23.9%)
CIE-LABlab(51.47, 55.46, -22.37)
CIE-LCHlch(51.47, 59.80, 338.03°)
OKLaboklab(60.44% 0.1641 -0.0601)
OKLCHoklch(60.44% 0.175 339.9)
XYZxyz(31.5663, 19.6726, 36.3101)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FA2 #4FC26F
analogous
#A84FC2 #C24FA2 #C24F68
triadic
#C24FA2 #A2C24F #4FA2C2
tetradic
#C24FA2 #C2A84F #4FC26F #4F68C2
square
#C24FA2 #C2A84F #4FC26F #4F68C2
split-complementary
#C24FA2 #68C24F #4FC2A8
monochromatic
#70275C #9D3781 #C24FA2 #D27CBA #E2AAD2

Accessibility & contrast

On white

4.26
#C24FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C24FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FA2#FFFFFF#000000##000000
##C24FA21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#77819F
Tritanopia (blue-blind)
#CC5271
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24fa2;
/* rgb */ color: rgb(194, 79, 162);
/* oklch */ color: oklch(60.4% 0.175 339.9);
Tailwind
colors: {
  custom: {
    50: '#d786bd',
    500: '#c24fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c24fa2;
$custom-light: #d786bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fa2",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 316.696,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.1748,
    "h": 339.9
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#C24FA2
secondary
#9ECFAB
accent
#D87650
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C24FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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