#C24FAC#C24FAC

#C24FAC is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.182 H 335.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C24FAC
RGBrgb(194, 79, 172)
HSLhsl(311, 49%, 54%)
HSVhsv(311, 59%, 76%)
CMYKcmyk(0%, 59.3%, 11.3%, 23.9%)
CIE-LABlab(51.89, 57.00, -27.59)
CIE-LCHlch(51.89, 63.32, 334.17°)
OKLaboklab(60.89% 0.166 -0.0749)
OKLCHoklch(60.89% 0.182 335.7)
XYZxyz(32.4908, 20.0424, 41.1790)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FAC #4FC265
analogous
#9E4FC2 #C24FAC #C24F72
triadic
#C24FAC #ACC24F #4FACC2
tetradic
#C24FAC #C29E4F #4FC265 #4F72C2
square
#C24FAC #C29E4F #4FC265 #4F72C2
split-complementary
#C24FAC #72C24F #4FC29E
monochromatic
#702762 #9D378A #C24FAC #D27CC1 #E2AAD7

Accessibility & contrast

On white

4.19
#C24FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C24FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FAC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FAC#FFFFFF#000000##000000
##C24FAC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#CB5576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24fac;
/* rgb */ color: rgb(194, 79, 172);
/* oklch */ color: oklch(60.9% 0.182 335.7);
Tailwind
colors: {
  custom: {
    50: '#d787c5',
    500: '#c24fac',
    950: '#000000',
  },
}
SCSS
$custom: #c24fac;
$custom-light: #d787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fac",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 311.478,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.18211,
    "h": 335.7
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#C24FAC
secondary
#9ECFA7
accent
#D86A50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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