#B7318E#B7318E
#B7318E is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.194 H 342.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B7318E |
|---|---|
| RGB | rgb(183, 49, 142) |
| HSL | hsl(318, 58%, 45%) |
| HSV | hsv(318, 73%, 72%) |
| CMYK | cmyk(0%, 73.2%, 22.4%, 28.2%) |
| CIE-LAB | lab(44.55, 61.55, -21.24) |
| CIE-LCH | lch(44.55, 65.11, 340.96°) |
| OKLab | oklab(54.76% 0.1852 -0.0569) |
| OKLCH | oklch(54.76% 0.194 342.9) |
| XYZ | xyz(25.5101, 14.2195, 26.9871) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.83
Magenta (survey)
#C20078
ΔE00 5.60
Ugly Purple
#A442A0
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 7.30
Warm Purple
#952E8F
ΔE00 7.78
Purpley Pink
#C83CB9
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7318E #31B75A
analogous
#9D31B7 #B7318E #B7314B
triadic
#B7318E #8EB731 #318EB7
tetradic
#B7318E #B79D31 #31B75A #314BB7
square
#B7318E #B79D31 #31B75A #314BB7
split-complementary
#B7318E #4BB731 #31B79D
monochromatic
#561743 #872469 #B7318E #D154AB #DE84C3
Accessibility & contrast
On white
5.46
#B7318E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#B7318E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7318E
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7318E | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5B91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C3325B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b7318e; /* rgb */ color: rgb(183, 49, 142); /* oklch */ color: oklch(54.8% 0.194 342.9);
Tailwind
colors: {
custom: {
50: '#d176af',
500: '#b7318e',
950: '#000000',
},
}SCSS
$custom: #b7318e; $custom-light: #d176af; $custom-dark: #000000;
JSON
{
"hex": "#b7318e",
"rgb": {
"r": 183,
"g": 49,
"b": 142
},
"hsl": {
"h": 318.358,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.54761,
"c": 0.19377,
"h": 342.9
},
"luminance": 0.14217
}Semantic roles & 50–950 ramp
primary
#B7318E
secondary
#7CC893
accent
#E17647
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F