#C542AE#C542AE

#C542AE is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.0% C 0.204 H 335.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C542AE
RGBrgb(197, 66, 174)
HSLhsl(311, 53%, 52%)
HSVhsv(311, 66%, 77%)
CMYKcmyk(0%, 66.5%, 11.7%, 22.7%)
CIE-LABlab(50.48, 63.49, -30.91)
CIE-LCHlch(50.48, 70.61, 334.04°)
OKLaboklab(59.98% 0.1853 -0.0842)
OKLCHoklch(59.98% 0.204 335.6)
XYZxyz(32.6145, 18.8255, 41.9522)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542AE #42C559
analogous
#9A42C5 #C542AE #C5426D
triadic
#C542AE #AEC542 #42AEC5
tetradic
#C542AE #C59A42 #42C559 #426DC5
square
#C542AE #C59A42 #42C559 #426DC5
split-complementary
#C542AE #6DC542 #42C59A
monochromatic
#6C215E #9A2F88 #C542AE #D371C2 #E2A0D6

Accessibility & contrast

On white

4.41
#C542AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C542AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542AE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542AE#FFFFFF#000000##000000
##C542AE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#CF4A72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c542ae;
/* rgb */ color: rgb(197, 66, 174);
/* oklch */ color: oklch(60.0% 0.204 335.6);
Tailwind
colors: {
  custom: {
    50: '#da80c6',
    500: '#c542ae',
    950: '#000000',
  },
}
SCSS
$custom: #c542ae;
$custom-light: #da80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c542ae",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 310.534,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.20354,
    "h": 335.6
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#C542AE
secondary
#95CE9F
accent
#DC654B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C542AE

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

Preview Lab → · Contrast checker → · Palette generator →

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