#C542AA#C542AA

#C542AA is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.8% C 0.201 H 337.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C542AA
RGBrgb(197, 66, 170)
HSLhsl(312, 53%, 52%)
HSVhsv(312, 66%, 77%)
CMYKcmyk(0%, 66.5%, 13.7%, 22.7%)
CIE-LABlab(50.30, 62.89, -28.84)
CIE-LCHlch(50.30, 69.19, 335.36°)
OKLaboklab(59.79% 0.1848 -0.0783)
OKLCHoklch(59.79% 0.201 337)
XYZxyz(32.2304, 18.6718, 39.9290)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542AA #42C55D
analogous
#9E42C5 #C542AA #C54269
triadic
#C542AA #AAC542 #42AAC5
tetradic
#C542AA #C59E42 #42C55D #4269C5
square
#C542AA #C59E42 #42C55D #4269C5
split-complementary
#C542AA #69C542 #42C59E
monochromatic
#6C215C #9A2F84 #C542AA #D371BF #E2A0D4

Accessibility & contrast

On white

4.44
#C542AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C542AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542AA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542AA#FFFFFF#000000##000000
##C542AA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#CF4970
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c542aa;
/* rgb */ color: rgb(197, 66, 170);
/* oklch */ color: oklch(59.8% 0.201 337.0);
Tailwind
colors: {
  custom: {
    50: '#da80c3',
    500: '#c542aa',
    950: '#000000',
  },
}
SCSS
$custom: #c542aa;
$custom-light: #da80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c542aa",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 312.366,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.20069,
    "h": 337
  },
  "luminance": 0.18669
}

Semantic roles & 50–950 ramp

primary
#C542AA
secondary
#95CEA0
accent
#DC694B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C542AA

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

Preview Lab → · Contrast checker → · Palette generator →

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