#C751A2#C751A2
#C751A2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.176 H 341.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C751A2 |
|---|---|
| RGB | rgb(199, 81, 162) |
| HSL | hsl(319, 51%, 55%) |
| HSV | hsv(319, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 18.6%, 22%) |
| CIE-LAB | lab(52.55, 56.00, -20.64) |
| CIE-LCH | lch(52.55, 59.69, 339.77°) |
| OKLab | oklab(61.39% 0.1667 -0.0552) |
| OKLCH | oklch(61.39% 0.176 341.7) |
| XYZ | xyz(33.0180, 20.6385, 36.4201) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.51
Pinky Purple
#C94CBE
ΔE00 5.64
Purpley Pink
#C83CB9
ΔE00 6.23
Pale Magenta
#D767AD
ΔE00 6.39
Purpleish Pink
#DF4EC8
ΔE00 7.09
Bright Pink
#FE01B1
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751A2 #51C776
analogous
#B151C7 #C751A2 #C75167
triadic
#C751A2 #A2C751 #51A2C7
tetradic
#C751A2 #C7B151 #51C776 #5167C7
square
#C751A2 #C7B151 #51C776 #5167C7
split-complementary
#C751A2 #67C751 #51C7B1
monochromatic
#77265E #A63582 #C751A2 #D67FBB #E5AED3
Accessibility & contrast
On white
4.10
#C751A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#C751A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751A2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751A2 | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#D25272
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c751a2; /* rgb */ color: rgb(199, 81, 162); /* oklch */ color: oklch(61.4% 0.176 341.7);
Tailwind
colors: {
custom: {
50: '#db88bd',
500: '#c751a2',
950: '#000000',
},
}SCSS
$custom: #c751a2; $custom-light: #db88bd; $custom-dark: #000000;
JSON
{
"hex": "#c751a2",
"rgb": {
"r": 199,
"g": 81,
"b": 162
},
"hsl": {
"h": 318.814,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.61392,
"c": 0.17559,
"h": 341.7
},
"luminance": 0.20636
}Semantic roles & 50–950 ramp
primary
#C751A2
secondary
#A1D3B1
accent
#DB794D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81