#C24FA7#C24FA7

#C24FA7 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.178 H 337.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C24FA7
RGBrgb(194, 79, 167)
HSLhsl(314, 49%, 54%)
HSVhsv(314, 59%, 76%)
CMYKcmyk(0%, 59.3%, 13.9%, 23.9%)
CIE-LABlab(51.67, 56.22, -24.99)
CIE-LCHlch(51.67, 61.52, 336.03°)
OKLaboklab(60.66% 0.1651 -0.0675)
OKLCHoklch(60.66% 0.178 337.8)
XYZxyz(32.0196, 19.8539, 38.6975)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FA7 #4FC26A
analogous
#A34FC2 #C24FA7 #C24F6D
triadic
#C24FA7 #A7C24F #4FA7C2
tetradic
#C24FA7 #C2A34F #4FC26A #4F6DC2
square
#C24FA7 #C2A34F #4FC26A #4F6DC2
split-complementary
#C24FA7 #6DC24F #4FC2A3
monochromatic
#70275F #9D3785 #C24FA7 #D27CBE #E2AAD4

Accessibility & contrast

On white

4.23
#C24FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C24FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FA7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FA7#FFFFFF#000000##000000
##C24FA71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#CC5374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24fa7;
/* rgb */ color: rgb(194, 79, 167);
/* oklch */ color: oklch(60.7% 0.178 337.8);
Tailwind
colors: {
  custom: {
    50: '#d787c1',
    500: '#c24fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c24fa7;
$custom-light: #d787c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fa7",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 314.087,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.17839,
    "h": 337.8
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#C24FA7
secondary
#9ECFA9
accent
#D87050
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C24FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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