#C751A3#C751A3
#C751A3 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.176 H 341.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C751A3 |
|---|---|
| RGB | rgb(199, 81, 163) |
| HSL | hsl(318, 51%, 55%) |
| HSV | hsv(318, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 18.1%, 22%) |
| CIE-LAB | lab(52.59, 56.15, -21.17) |
| CIE-LCH | lch(52.59, 60.01, 339.35°) |
| OKLab | oklab(61.43% 0.1669 -0.0567) |
| OKLCH | oklch(61.43% 0.176 341.2) |
| XYZ | xyz(33.1072, 20.6742, 36.8901) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.44
Pinky Purple
#C94CBE
ΔE00 5.43
Purpley Pink
#C83CB9
ΔE00 6.06
Pale Magenta
#D767AD
ΔE00 6.41
Purpleish Pink
#DF4EC8
ΔE00 6.92
Bright Pink
#FE01B1
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751A3 #51C775
analogous
#B051C7 #C751A3 #C75168
triadic
#C751A3 #A3C751 #51A3C7
tetradic
#C751A3 #C7B051 #51C775 #5168C7
square
#C751A3 #C7B051 #51C775 #5168C7
split-complementary
#C751A3 #68C751 #51C7B0
monochromatic
#77265F #A63583 #C751A3 #D67FBB #E5AED4
Accessibility & contrast
On white
4.09
#C751A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#C751A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751A3
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751A3 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 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)
#5871A6
Deuteranopia (green-blind)
#7B85A0
Tritanopia (blue-blind)
#D25373
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c751a3; /* rgb */ color: rgb(199, 81, 163); /* oklch */ color: oklch(61.4% 0.176 341.2);
Tailwind
colors: {
custom: {
50: '#db88be',
500: '#c751a3',
950: '#000000',
},
}SCSS
$custom: #c751a3; $custom-light: #db88be; $custom-dark: #000000;
JSON
{
"hex": "#c751a3",
"rgb": {
"r": 199,
"g": 81,
"b": 163
},
"hsl": {
"h": 318.305,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.61434,
"c": 0.17626,
"h": 341.2
},
"luminance": 0.20671
}Semantic roles & 50–950 ramp
primary
#C751A3
secondary
#A1D3B0
accent
#DB784D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81