#C545A2#C545A2
#C545A2 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.191 H 340.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C545A2 |
|---|---|
| RGB | rgb(197, 69, 162) |
| HSL | hsl(316, 52%, 52%) |
| HSV | hsv(316, 65%, 77%) |
| CMYK | cmyk(0%, 65%, 17.8%, 22.7%) |
| CIE-LAB | lab(50.38, 60.54, -24.01) |
| CIE-LCH | lch(50.38, 65.13, 338.37°) |
| OKLab | oklab(59.74% 0.18 -0.0646) |
| OKLCH | oklch(59.74% 0.191 340.2) |
| XYZ | xyz(31.6764, 18.7381, 36.1239) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.55
Pinky Purple
#C94CBE
ΔE00 5.23
Purplish Pink
#CE5DAE
ΔE00 5.82
Ugly Purple
#A442A0
ΔE00 7.36
Mediumvioletred
#C71585
ΔE00 7.42
Purpleish Pink
#DF4EC8
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C545A2 #45C568
analogous
#A845C5 #C545A2 #C54562
triadic
#C545A2 #A2C545 #45A2C5
tetradic
#C545A2 #C5A845 #45C568 #4562C5
square
#C545A2 #C5A845 #45C568 #4562C5
split-complementary
#C545A2 #62C545 #45C5A8
monochromatic
#6D2259 #9C317F #C545A2 #D474B9 #E2A2D1
Accessibility & contrast
On white
4.42
#C545A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#C545A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C545A2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C545A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C545A2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#747F9F
Tritanopia (blue-blind)
#D0486D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c545a2; /* rgb */ color: rgb(197, 69, 162); /* oklch */ color: oklch(59.7% 0.191 340.2);
Tailwind
colors: {
custom: {
50: '#da81bd',
500: '#c545a2',
950: '#000000',
},
}SCSS
$custom: #c545a2; $custom-light: #da81bd; $custom-dark: #000000;
JSON
{
"hex": "#c545a2",
"rgb": {
"r": 197,
"g": 69,
"b": 162
},
"hsl": {
"h": 316.406,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.59735,
"c": 0.19121,
"h": 340.2
},
"luminance": 0.18735
}Semantic roles & 50–950 ramp
primary
#C545A2
secondary
#97CFA6
accent
#DC734C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81