#C545AF#C545AF
#C545AF is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.3% C 0.200 H 335.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C545AF |
|---|---|
| RGB | rgb(197, 69, 175) |
| HSL | hsl(310, 52%, 52%) |
| HSV | hsv(310, 65%, 77%) |
| CMYK | cmyk(0%, 65%, 11.2%, 22.7%) |
| CIE-LAB | lab(50.95, 62.47, -30.77) |
| CIE-LCH | lch(50.95, 69.63, 333.78°) |
| OKLab | oklab(60.34% 0.182 -0.0838) |
| OKLCH | oklch(60.34% 0.2 335.3) |
| XYZ | xyz(32.8923, 19.2244, 42.5274) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.19
Pinky Purple
#C94CBE
ΔE00 2.97
Purplish Pink
#CE5DAE
ΔE00 6.06
Purpleish Pink
#DF4EC8
ΔE00 6.44
Pinkish Purple
#D648D7
ΔE00 6.86
Ugly Purple
#A442A0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C545AF #45C55B
analogous
#9B45C5 #C545AF #C5456F
triadic
#C545AF #AFC545 #45AFC5
tetradic
#C545AF #C59B45 #45C55B #456FC5
square
#C545AF #C59B45 #45C55B #456FC5
split-complementary
#C545AF #6FC545 #45C59B
monochromatic
#6D2261 #9C318A #C545AF #D474C3 #E2A2D7
Accessibility & contrast
On white
4.33
#C545AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#C545AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C545AF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C545AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C545AF | 1.00 | 4.33 | 4.84 | 4.84 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#6F80AC
Tritanopia (blue-blind)
#CE4D74
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c545af; /* rgb */ color: rgb(197, 69, 175); /* oklch */ color: oklch(60.3% 0.200 335.3);
Tailwind
colors: {
custom: {
50: '#da82c7',
500: '#c545af',
950: '#000000',
},
}SCSS
$custom: #c545af; $custom-light: #da82c7; $custom-dark: #000000;
JSON
{
"hex": "#c545af",
"rgb": {
"r": 197,
"g": 69,
"b": 175
},
"hsl": {
"h": 310.313,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.60337,
"c": 0.20035,
"h": 335.3
},
"luminance": 0.19222
}Semantic roles & 50–950 ramp
primary
#C545AF
secondary
#97CFA1
accent
#DC654C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82