#C124AE#C124AE

#C124AE is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.233 H 334.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C124AE
RGBrgb(193, 36, 174)
HSLhsl(307, 69%, 45%)
HSVhsv(307, 81%, 76%)
CMYKcmyk(0%, 81.3%, 9.8%, 24.3%)
CIE-LABlab(46.52, 71.93, -37.17)
CIE-LCHlch(46.52, 80.97, 332.67°)
OKLaboklab(57% 0.209 -0.102)
OKLCHoklch(57% 0.233 334)
XYZxyz(30.2635, 15.6579, 41.4646)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124AE #24C137
analogous
#8524C1 #C124AE #C12460
triadic
#C124AE #AEC124 #24AEC1
tetradic
#C124AE #C18524 #24C137 #2460C1
square
#C124AE #C18524 #24C137 #2460C1
split-complementary
#C124AE #60C124 #24C185
monochromatic
#5A1151 #8D1A7F #C124AE #DC46CA #E679D9

Accessibility & contrast

On white

5.08
#C124AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C124AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124AE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124AE#FFFFFF#000000##FFFFFF
##C124AE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#CA366A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c124ae;
/* rgb */ color: rgb(193, 36, 174);
/* oklch */ color: oklch(57.0% 0.233 334.0);
Tailwind
colors: {
  custom: {
    50: '#d873c6',
    500: '#c124ae',
    950: '#000000',
  },
}
SCSS
$custom: #c124ae;
$custom-light: #d873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c124ae",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 307.261,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.23258,
    "h": 334
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#C124AE
secondary
#73CE7E
accent
#EB523C
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C124AE

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

Preview Lab → · Contrast checker → · Palette generator →

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