#C545AB#C545AB
#C545AB is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.197 H 336.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C545AB |
|---|---|
| RGB | rgb(197, 69, 171) |
| HSL | hsl(312, 52%, 52%) |
| HSV | hsv(312, 65%, 77%) |
| CMYK | cmyk(0%, 65%, 13.2%, 22.7%) |
| CIE-LAB | lab(50.77, 61.86, -28.70) |
| CIE-LCH | lch(50.77, 68.20, 335.11°) |
| OKLab | oklab(60.15% 0.1814 -0.0779) |
| OKLCH | oklch(60.15% 0.197 336.8) |
| XYZ | xyz(32.5052, 19.0696, 40.4890) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.86
Pinky Purple
#C94CBE
ΔE00 3.61
Purplish Pink
#CE5DAE
ΔE00 5.88
Purpleish Pink
#DF4EC8
ΔE00 6.78
Ugly Purple
#A442A0
ΔE00 6.98
Pinkish Purple
#D648D7
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C545AB #45C55F
analogous
#9F45C5 #C545AB #C5456B
triadic
#C545AB #ABC545 #45ABC5
tetradic
#C545AB #C59F45 #45C55F #456BC5
square
#C545AB #C59F45 #45C55F #456BC5
split-complementary
#C545AB #6BC545 #45C59F
monochromatic
#6D225E #9C3186 #C545AB #D474C0 #E2A2D5
Accessibility & contrast
On white
4.36
#C545AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#C545AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C545AB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C545AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C545AB | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486CAE
Deuteranopia (green-blind)
#7080A8
Tritanopia (blue-blind)
#CF4C72
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c545ab; /* rgb */ color: rgb(197, 69, 171); /* oklch */ color: oklch(60.1% 0.197 336.8);
Tailwind
colors: {
custom: {
50: '#da82c4',
500: '#c545ab',
950: '#000000',
},
}SCSS
$custom: #c545ab; $custom-light: #da82c4; $custom-dark: #000000;
JSON
{
"hex": "#c545ab",
"rgb": {
"r": 197,
"g": 69,
"b": 171
},
"hsl": {
"h": 312.188,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.60147,
"c": 0.19746,
"h": 336.8
},
"luminance": 0.19067
}Semantic roles & 50–950 ramp
primary
#C545AB
secondary
#97CFA2
accent
#DC694C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81