#C541A2#C541A2

#C541A2 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.196 H 340.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C541A2
RGBrgb(197, 65, 162)
HSLhsl(316, 53%, 51%)
HSVhsv(316, 67%, 77%)
CMYKcmyk(0%, 67%, 17.8%, 22.7%)
CIE-LABlab(49.81, 62.11, -24.88)
CIE-LCHlch(49.81, 66.91, 338.17°)
OKLaboklab(59.32% 0.1847 -0.067)
OKLCHoklch(59.32% 0.196 340)
XYZxyz(31.4386, 18.2625, 36.0447)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C541A2 #41C564
analogous
#A641C5 #C541A2 #C54160
triadic
#C541A2 #A2C541 #41A2C5
tetradic
#C541A2 #C5A641 #41C564 #4160C5
square
#C541A2 #C5A641 #41C564 #4160C5
split-complementary
#C541A2 #60C541 #41C5A6
monochromatic
#6B2157 #9A2F7E #C541A2 #D370B9 #E29FD0

Accessibility & contrast

On white

4.51
#C541A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C541A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C541A2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C541A2#FFFFFF#000000##000000
##C541A21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#D0456C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c541a2;
/* rgb */ color: rgb(197, 65, 162);
/* oklch */ color: oklch(59.3% 0.196 340.0);
Tailwind
colors: {
  custom: {
    50: '#da7fbd',
    500: '#c541a2',
    950: '#000000',
  },
}
SCSS
$custom: #c541a2;
$custom-light: #da7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c541a2",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 315.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.19649,
    "h": 340
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

primary
#C541A2
secondary
#94CEA3
accent
#DD724B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C541A2

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

Preview Lab → · Contrast checker → · Palette generator →

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