#C751AF#C751AF
#C751AF is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.185 H 336.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C751AF |
|---|---|
| RGB | rgb(199, 81, 175) |
| HSL | hsl(312, 51%, 55%) |
| HSV | hsv(312, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 12.1%, 22%) |
| CIE-LAB | lab(53.09, 57.96, -27.42) |
| CIE-LCH | lch(53.09, 64.12, 334.68°) |
| OKLab | oklab(61.96% 0.1692 -0.0743) |
| OKLCH | oklch(61.96% 0.185 336.3) |
| XYZ | xyz(34.2338, 21.1248, 42.8236) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.99
Purplish Pink
#CE5DAE
ΔE00 3.55
Purpley Pink
#C83CB9
ΔE00 4.28
Purpleish Pink
#DF4EC8
ΔE00 5.22
Pinkish Purple
#D648D7
ΔE00 6.74
Pale Magenta
#D767AD
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751AF #51C769
analogous
#A451C7 #C751AF #C75174
triadic
#C751AF #AFC751 #51AFC7
tetradic
#C751AF #C7A451 #51C769 #5174C7
square
#C751AF #C7A451 #51C769 #5174C7
split-complementary
#C751AF #74C751 #51C7A4
monochromatic
#772667 #A6358F #C751AF #D67FC4 #E5AEDA
Accessibility & contrast
On white
4.02
#C751AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#C751AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751AF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751AF | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#7785AC
Tritanopia (blue-blind)
#D05779
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c751af; /* rgb */ color: rgb(199, 81, 175); /* oklch */ color: oklch(62.0% 0.185 336.3);
Tailwind
colors: {
custom: {
50: '#db88c7',
500: '#c751af',
950: '#000000',
},
}SCSS
$custom: #c751af; $custom-light: #db88c7; $custom-dark: #000000;
JSON
{
"hex": "#c751af",
"rgb": {
"r": 199,
"g": 81,
"b": 175
},
"hsl": {
"h": 312.203,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.6196,
"c": 0.18485,
"h": 336.3
},
"luminance": 0.21122
}Semantic roles & 50–950 ramp
primary
#C751AF
secondary
#A1D3AB
accent
#DB6A4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82