#C541AF#C541AF

#C541AF is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.206 H 335.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C541AF
RGBrgb(197, 65, 175)
HSLhsl(310, 53%, 51%)
HSVhsv(310, 67%, 77%)
CMYKcmyk(0%, 67%, 11.2%, 22.7%)
CIE-LABlab(50.39, 64.02, -31.64)
CIE-LCHlch(50.39, 71.41, 333.70°)
OKLaboklab(59.93% 0.1866 -0.0862)
OKLCHoklch(59.93% 0.206 335.2)
XYZxyz(32.6545, 18.7488, 42.4482)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C541AF #41C557
analogous
#9941C5 #C541AF #C5416D
triadic
#C541AF #AFC541 #41AFC5
tetradic
#C541AF #C59941 #41C557 #416DC5
square
#C541AF #C59941 #41C557 #416DC5
split-complementary
#C541AF #6DC541 #41C599
monochromatic
#6B215F #9A2F88 #C541AF #D370C3 #E29FD6

Accessibility & contrast

On white

4.42
#C541AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C541AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C541AF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C541AF#FFFFFF#000000##000000
##C541AF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#CE4A72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c541af;
/* rgb */ color: rgb(197, 65, 175);
/* oklch */ color: oklch(59.9% 0.206 335.2);
Tailwind
colors: {
  custom: {
    50: '#da80c7',
    500: '#c541af',
    950: '#000000',
  },
}
SCSS
$custom: #c541af;
$custom-light: #da80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c541af",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 310,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.20554,
    "h": 335.2
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#C541AF
secondary
#94CE9E
accent
#DD634B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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