#C641A2#C641A2
#C641A2 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.197 H 340.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C641A2 |
|---|---|
| RGB | rgb(198, 65, 162) |
| HSL | hsl(316, 54%, 52%) |
| HSV | hsv(316, 67%, 78%) |
| CMYK | cmyk(0%, 67.2%, 18.2%, 22.4%) |
| CIE-LAB | lab(49.98, 62.37, -24.62) |
| CIE-LCH | lch(49.98, 67.06, 338.46°) |
| OKLab | oklab(59.47% 0.1857 -0.0663) |
| OKLCH | oklch(59.47% 0.197 340.4) |
| XYZ | xyz(31.7014, 18.3980, 36.0570) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.36
Pinky Purple
#C94CBE
ΔE00 5.38
Purplish Pink
#CE5DAE
ΔE00 6.36
Mediumvioletred
#C71585
ΔE00 7.00
Ugly Purple
#A442A0
ΔE00 7.18
Purpleish Pink
#DF4EC8
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C641A2 #41C665
analogous
#A841C6 #C641A2 #C64160
triadic
#C641A2 #A2C641 #41A2C6
tetradic
#C641A2 #C6A841 #41C665 #4160C6
square
#C641A2 #C6A841 #41C665 #4160C6
split-complementary
#C641A2 #60C641 #41C6A8
monochromatic
#6C2058 #9B2F7E #C641A2 #D470B9 #E29FD0
Accessibility & contrast
On white
4.49
#C641A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#C641A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C641A2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C641A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C641A2 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D1446C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c641a2; /* rgb */ color: rgb(198, 65, 162); /* oklch */ color: oklch(59.5% 0.197 340.4);
Tailwind
colors: {
custom: {
50: '#db7fbd',
500: '#c641a2',
950: '#000000',
},
}SCSS
$custom: #c641a2; $custom-light: #db7fbd; $custom-dark: #000000;
JSON
{
"hex": "#c641a2",
"rgb": {
"r": 198,
"g": 65,
"b": 162
},
"hsl": {
"h": 316.241,
"s": 53.846,
"l": 51.569
},
"oklch": {
"l": 0.59471,
"c": 0.19716,
"h": 340.4
},
"luminance": 0.18395
}Semantic roles & 50–950 ramp
primary
#C641A2
secondary
#94CFA4
accent
#DD724B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81