#C24FA4#C24FA4

#C24FA4 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.176 H 339.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C24FA4
RGBrgb(194, 79, 164)
HSLhsl(316, 49%, 54%)
HSVhsv(316, 59%, 76%)
CMYKcmyk(0%, 59.3%, 15.5%, 23.9%)
CIE-LABlab(51.55, 55.76, -23.42)
CIE-LCHlch(51.55, 60.48, 337.21°)
OKLaboklab(60.53% 0.1645 -0.0631)
OKLCHoklch(60.53% 0.176 339)
XYZxyz(31.7455, 19.7443, 37.2538)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FA4 #4FC26D
analogous
#A64FC2 #C24FA4 #C24F6A
triadic
#C24FA4 #A4C24F #4FA4C2
tetradic
#C24FA4 #C2A64F #4FC26D #4F6AC2
square
#C24FA4 #C2A64F #4FC26D #4F6AC2
split-complementary
#C24FA4 #6AC24F #4FC2A6
monochromatic
#70275D #9D3782 #C24FA4 #D27CBB #E2AAD3

Accessibility & contrast

On white

4.24
#C24FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C24FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FA4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FA4#FFFFFF#000000##000000
##C24FA41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA7
Deuteranopia (green-blind)
#7681A1
Tritanopia (blue-blind)
#CC5272
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24fa4;
/* rgb */ color: rgb(194, 79, 164);
/* oklch */ color: oklch(60.5% 0.176 339.0);
Tailwind
colors: {
  custom: {
    50: '#d786bf',
    500: '#c24fa4',
    950: '#000000',
  },
}
SCSS
$custom: #c24fa4;
$custom-light: #d786bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fa4",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 315.652,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.17621,
    "h": 339
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#C24FA4
secondary
#9ECFAB
accent
#D87350
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C24FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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