#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 |
|---|---|
| RGB | rgb(197, 65, 162) |
| HSL | hsl(316, 53%, 51%) |
| HSV | hsv(316, 67%, 77%) |
| CMYK | cmyk(0%, 67%, 17.8%, 22.7%) |
| CIE-LAB | lab(49.81, 62.11, -24.88) |
| CIE-LCH | lch(49.81, 66.91, 338.17°) |
| OKLab | oklab(59.32% 0.1847 -0.067) |
| OKLCH | oklch(59.32% 0.196 340) |
| XYZ | xyz(31.4386, 18.2625, 36.0447) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.30
Pinky Purple
#C94CBE
ΔE00 5.38
Purplish Pink
#CE5DAE
ΔE00 6.50
Ugly Purple
#A442A0
ΔE00 6.96
Mediumvioletred
#C71585
ΔE00 6.98
Purpleish Pink
#DF4EC8
ΔE00 8.12
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 |
|---|---|---|---|---|
| ##C541A2 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.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