#B7308E#B7308E
#B7308E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.195 H 342.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B7308E |
|---|---|
| RGB | rgb(183, 48, 142) |
| HSL | hsl(318, 58%, 45%) |
| HSV | hsv(318, 74%, 72%) |
| CMYK | cmyk(0%, 73.8%, 22.4%, 28.2%) |
| CIE-LAB | lab(44.43, 61.88, -21.42) |
| CIE-LCH | lch(44.43, 65.48, 340.91°) |
| OKLab | oklab(54.68% 0.1863 -0.0574) |
| OKLCH | oklch(54.68% 0.195 342.9) |
| XYZ | xyz(25.4688, 14.1368, 26.9733) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.82
Magenta (survey)
#C20078
ΔE00 5.57
Ugly Purple
#A442A0
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 7.29
Warm Purple
#952E8F
ΔE00 7.69
Purpley Pink
#C83CB9
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7308E #30B759
analogous
#9C30B7 #B7308E #B7304A
triadic
#B7308E #8EB730 #308EB7
tetradic
#B7308E #B79C30 #30B759 #304AB7
square
#B7308E #B79C30 #30B759 #304AB7
split-complementary
#B7308E #4AB730 #30B79C
monochromatic
#561743 #872368 #B7308E #D252AB #DE83C3
Accessibility & contrast
On white
5.49
#B7308E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#B7308E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7308E
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7308E | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C3315B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b7308e; /* rgb */ color: rgb(183, 48, 142); /* oklch */ color: oklch(54.7% 0.195 342.9);
Tailwind
colors: {
custom: {
50: '#d175af',
500: '#b7308e',
950: '#000000',
},
}SCSS
$custom: #b7308e; $custom-light: #d175af; $custom-dark: #000000;
JSON
{
"hex": "#b7308e",
"rgb": {
"r": 183,
"g": 48,
"b": 142
},
"hsl": {
"h": 318.222,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.54675,
"c": 0.1949,
"h": 342.9
},
"luminance": 0.14134
}Semantic roles & 50–950 ramp
primary
#B7308E
secondary
#7BC892
accent
#E27546
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F