#C24FA5#C24FA5

#C24FA5 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.177 H 338.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C24FA5
RGBrgb(194, 79, 165)
HSLhsl(315, 49%, 54%)
HSVhsv(315, 59%, 76%)
CMYKcmyk(0%, 59.3%, 14.9%, 23.9%)
CIE-LABlab(51.59, 55.91, -23.95)
CIE-LCHlch(51.59, 60.83, 336.81°)
OKLaboklab(60.57% 0.1647 -0.0646)
OKLCHoklch(60.57% 0.177 338.6)
XYZxyz(31.8362, 19.7805, 37.7313)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FA5 #4FC26C
analogous
#A54FC2 #C24FA5 #C24F6B
triadic
#C24FA5 #A5C24F #4FA5C2
tetradic
#C24FA5 #C2A54F #4FC26C #4F6BC2
square
#C24FA5 #C2A54F #4FC26C #4F6BC2
split-complementary
#C24FA5 #6BC24F #4FC2A5
monochromatic
#70275D #9D3783 #C24FA5 #D27CBC #E2AAD3

Accessibility & contrast

On white

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

On black

4.96
#C24FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FA5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FA5#FFFFFF#000000##000000
##C24FA51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370A8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#CC5373
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24fa5;
/* rgb */ color: rgb(194, 79, 165);
/* oklch */ color: oklch(60.6% 0.177 338.6);
Tailwind
colors: {
  custom: {
    50: '#d786c0',
    500: '#c24fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c24fa5;
$custom-light: #d786c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fa5",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 315.13,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.17693,
    "h": 338.6
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#C24FA5
secondary
#9ECFAA
accent
#D87250
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C24FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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