#B7306C#B7306C
#B7306C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.178 H 358.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B7306C |
|---|---|
| RGB | rgb(183, 48, 108) |
| HSL | hsl(333, 58%, 45%) |
| HSV | hsv(333, 74%, 72%) |
| CMYK | cmyk(0%, 73.8%, 41%, 28.2%) |
| CIE-LAB | lab(43.16, 57.89, -2.47) |
| CIE-LCH | lch(43.16, 57.94, 357.56°) |
| OKLab | oklab(53.34% 0.1777 -0.0057) |
| OKLCH | oklch(53.34% 0.178 358.1) |
| XYZ | xyz(23.2938, 13.2668, 15.5186) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.61
Deep Pink
#CB0162
ΔE00 4.66
Mediumvioletred
#C71585
ΔE00 6.08
Light Burgundy
#A8415B
ΔE00 6.37
Dark Hot Pink
#D90166
ΔE00 6.64
Violet Red
#A50055
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7306C #30B77B
analogous
#B730B0 #B7306C #B73730
triadic
#B7306C #6CB730 #306CB7
tetradic
#B7306C #B0B730 #30B77B #3730B7
square
#B7306C #B0B730 #30B77B #3730B7
split-complementary
#B7306C #30B737 #30B0B7
monochromatic
#561733 #87234F #B7306C #D2528B #DE83AC
Accessibility & contrast
On white
5.75
#B7306C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B7306C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7306C
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7306C | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C566E
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#C61D4A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b7306c; /* rgb */ color: rgb(183, 48, 108); /* oklch */ color: oklch(53.3% 0.178 358.1);
Tailwind
colors: {
custom: {
50: '#d27496',
500: '#b7306c',
950: '#000000',
},
}SCSS
$custom: #b7306c; $custom-light: #d27496; $custom-dark: #000000;
JSON
{
"hex": "#b7306c",
"rgb": {
"r": 183,
"g": 48,
"b": 108
},
"hsl": {
"h": 333.333,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.53336,
"c": 0.17779,
"h": 358.1
},
"luminance": 0.13264
}Semantic roles & 50–950 ramp
primary
#B7306C
secondary
#7BC8A6
accent
#E29D46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E