#C042AE#C042AE

#C042AE is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.200 H 334.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C042AE
RGBrgb(192, 66, 174)
HSLhsl(309, 50%, 51%)
HSVhsv(309, 66%, 75%)
CMYKcmyk(0%, 65.6%, 9.4%, 24.7%)
CIE-LABlab(49.69, 62.23, -32.20)
CIE-LCHlch(49.69, 70.06, 332.64°)
OKLaboklab(59.25% 0.1802 -0.088)
OKLCHoklch(59.25% 0.2 334)
XYZxyz(31.3266, 18.1614, 41.8918)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042AE #42C054
analogous
#9342C0 #C042AE #C0426F
triadic
#C042AE #AEC042 #42AEC0
tetradic
#C042AE #C09342 #42C054 #426FC0
square
#C042AE #C09342 #42C054 #426FC0
split-complementary
#C042AE #6FC042 #42C093
monochromatic
#66225C #943186 #C042AE #CF70C2 #DF9ED5

Accessibility & contrast

On white

4.53
#C042AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C042AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042AE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042AE#FFFFFF#000000##000000
##C042AE1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#C94C72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c042ae;
/* rgb */ color: rgb(192, 66, 174);
/* oklch */ color: oklch(59.3% 0.200 334.0);
Tailwind
colors: {
  custom: {
    50: '#d680c6',
    500: '#c042ae',
    950: '#000000',
  },
}
SCSS
$custom: #c042ae;
$custom-light: #d680c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c042ae",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 308.571,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.20049,
    "h": 334
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#C042AE
secondary
#93CB9B
accent
#DA624E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C042AE

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

Preview Lab → · Contrast checker → · Palette generator →

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