#C24EA2#C24EA2

#C24EA2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.176 H 339.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C24EA2
RGBrgb(194, 78, 162)
HSLhsl(317, 49%, 53%)
HSVhsv(317, 60%, 76%)
CMYKcmyk(0%, 59.8%, 16.5%, 23.9%)
CIE-LABlab(51.30, 55.90, -22.63)
CIE-LCHlch(51.30, 60.31, 337.97°)
OKLaboklab(60.32% 0.1655 -0.0608)
OKLCHoklch(60.32% 0.176 339.8)
XYZxyz(31.4947, 19.5294, 36.2862)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24EA2 #4EC26E
analogous
#A84EC2 #C24EA2 #C24E68
triadic
#C24EA2 #A2C24E #4EA2C2
tetradic
#C24EA2 #C2A84E #4EC26E #4E68C2
square
#C24EA2 #C2A84E #4EC26E #4E68C2
split-complementary
#C24EA2 #68C24E #4EC2A8
monochromatic
#6F265B #9D3680 #C24EA2 #D27CBA #E1A9D2

Accessibility & contrast

On white

4.28
#C24EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C24EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24EA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24EA2#FFFFFF#000000##000000
##C24EA21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#CC5171
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c24ea2;
/* rgb */ color: rgb(194, 78, 162);
/* oklch */ color: oklch(60.3% 0.176 339.8);
Tailwind
colors: {
  custom: {
    50: '#d786bd',
    500: '#c24ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c24ea2;
$custom-light: #d786bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c24ea2",
  "rgb": {
    "r": 194,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 316.552,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6032,
    "c": 0.17629,
    "h": 339.8
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#C24EA2
secondary
#9DCFAB
accent
#D87550
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C24EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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