#B751A6#B751A6
#B751A6 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.3% C 0.167 H 334.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B751A6 |
|---|---|
| RGB | rgb(183, 81, 166) |
| HSL | hsl(310, 41%, 52%) |
| HSV | hsv(310, 56%, 72%) |
| CMYK | cmyk(0%, 55.7%, 9.3%, 28.2%) |
| CIE-LAB | lab(50.34, 52.01, -26.59) |
| CIE-LCH | lch(50.34, 58.41, 332.92°) |
| OKLab | oklab(59.34% 0.1503 -0.0723) |
| OKLCH | oklch(59.34% 0.167 334.3) |
| XYZ | xyz(29.3539, 18.7074, 38.1338) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.76
Pinky Purple
#C94CBE
ΔE00 4.77
Ugly Purple
#A442A0
ΔE00 5.98
Purplish Pink
#CE5DAE
ΔE00 6.05
Medium Purple
#9E43A2
ΔE00 7.04
Purpleish
#98568D
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B751A6 #51B762
analogous
#9551B7 #B751A6 #B75173
triadic
#B751A6 #A6B751 #51A6B7
tetradic
#B751A6 #B79551 #51B762 #5173B7
square
#B751A6 #B79551 #51B762 #5173B7
split-complementary
#B751A6 #73B751 #51B795
monochromatic
#64295A #8F3B81 #B751A6 #C97CBC #DBA8D2
Accessibility & contrast
On white
4.43
#B751A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#B751A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B751A6
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B751A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B751A6 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#BF5774
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #b751a6; /* rgb */ color: rgb(183, 81, 166); /* oklch */ color: oklch(59.3% 0.167 334.3);
Tailwind
colors: {
custom: {
50: '#cf87c0',
500: '#b751a6',
950: '#000000',
},
}SCSS
$custom: #b751a6; $custom-light: #cf87c0; $custom-dark: #000000;
JSON
{
"hex": "#b751a6",
"rgb": {
"r": 183,
"g": 81,
"b": 166
},
"hsl": {
"h": 310,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.59342,
"c": 0.16676,
"h": 334.3
},
"luminance": 0.18705
}Semantic roles & 50–950 ramp
primary
#B751A6
secondary
#9CC8A3
accent
#D16B57
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81