#C242AE#C242AE

#C242AE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.202 H 334.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C242AE
RGBrgb(194, 66, 174)
HSLhsl(309, 51%, 51%)
HSVhsv(309, 66%, 76%)
CMYKcmyk(0%, 66%, 10.3%, 23.9%)
CIE-LABlab(50.01, 62.73, -31.69)
CIE-LCHlch(50.01, 70.28, 333.20°)
OKLaboklab(59.54% 0.1822 -0.0864)
OKLCHoklch(59.54% 0.202 334.6)
XYZxyz(31.8366, 18.4244, 41.9157)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AE #42C256
analogous
#9642C2 #C242AE #C2426E
triadic
#C242AE #AEC242 #42AEC2
tetradic
#C242AE #C29642 #42C256 #426EC2
square
#C242AE #C29642 #42C256 #426EC2
split-complementary
#C242AE #6EC242 #42C296
monochromatic
#68225D #963186 #C242AE #D170C2 #E09FD6

Accessibility & contrast

On white

4.48
#C242AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C242AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AE#FFFFFF#000000##000000
##C242AE1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#CB4B72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242ae;
/* rgb */ color: rgb(194, 66, 174);
/* oklch */ color: oklch(59.5% 0.202 334.6);
Tailwind
colors: {
  custom: {
    50: '#d880c6',
    500: '#c242ae',
    950: '#000000',
  },
}
SCSS
$custom: #c242ae;
$custom-light: #d880c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c242ae",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 309.375,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.20171,
    "h": 334.6
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#C242AE
secondary
#94CC9C
accent
#DB634D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242AE

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

Preview Lab → · Contrast checker → · Palette generator →

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