#C751A5#C751A5
#C751A5 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.178 H 340.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C751A5 |
|---|---|
| RGB | rgb(199, 81, 165) |
| HSL | hsl(317, 51%, 55%) |
| HSV | hsv(317, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 17.1%, 22%) |
| CIE-LAB | lab(52.67, 56.45, -22.22) |
| CIE-LCH | lch(52.67, 60.66, 338.52°) |
| OKLab | oklab(61.52% 0.1673 -0.0597) |
| OKLCH | oklch(61.52% 0.178 340.4) |
| XYZ | xyz(33.2878, 20.7464, 37.8413) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.33
Pinky Purple
#C94CBE
ΔE00 5.01
Purpley Pink
#C83CB9
ΔE00 5.72
Pale Magenta
#D767AD
ΔE00 6.46
Purpleish Pink
#DF4EC8
ΔE00 6.60
Bright Pink
#FE01B1
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751A5 #51C773
analogous
#AE51C7 #C751A5 #C7516A
triadic
#C751A5 #A5C751 #51A5C7
tetradic
#C751A5 #C7AE51 #51C773 #516AC7
square
#C751A5 #C7AE51 #51C773 #516AC7
split-complementary
#C751A5 #6AC751 #51C7AE
monochromatic
#772660 #A63585 #C751A5 #D67FBD #E5AED5
Accessibility & contrast
On white
4.08
#C751A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#C751A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751A5
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751A5 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#D25374
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c751a5; /* rgb */ color: rgb(199, 81, 165); /* oklch */ color: oklch(61.5% 0.178 340.4);
Tailwind
colors: {
custom: {
50: '#db88c0',
500: '#c751a5',
950: '#000000',
},
}SCSS
$custom: #c751a5; $custom-light: #db88c0; $custom-dark: #000000;
JSON
{
"hex": "#c751a5",
"rgb": {
"r": 199,
"g": 81,
"b": 165
},
"hsl": {
"h": 317.288,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.61519,
"c": 0.17764,
"h": 340.4
},
"luminance": 0.20744
}Semantic roles & 50–950 ramp
primary
#C751A5
secondary
#A1D3AF
accent
#DB764D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81