#B7396B#B7396B
#B7396B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.167 H 0.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B7396B |
|---|---|
| RGB | rgb(183, 57, 107) |
| HSL | hsl(336, 53%, 47%) |
| HSV | hsv(336, 69%, 72%) |
| CMYK | cmyk(0%, 68.9%, 41.5%, 28.2%) |
| CIE-LAB | lab(44.32, 54.49, -0.15) |
| CIE-LCH | lch(44.32, 54.49, 359.84°) |
| OKLab | oklab(54.18% 0.1669 0.0002) |
| OKLCH | oklch(54.18% 0.167 0.1) |
| XYZ | xyz(23.6471, 14.0580, 15.3753) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.84
Light Burgundy
#A8415B
ΔE00 5.19
Dark Pink
#CB416B
ΔE00 5.68
Magenta (survey)
#C20078
ΔE00 6.22
Dark Hot Pink
#D90166
ΔE00 6.27
Deep Rose
#C74767
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7396B #39B785
analogous
#B739AA #B7396B #B74639
triadic
#B7396B #6BB739 #396BB7
tetradic
#B7396B #AAB739 #39B785 #4639B7
square
#B7396B #AAB739 #39B785 #4639B7
split-complementary
#B7396B #39B746 #39AAB7
monochromatic
#5A1C34 #882A50 #B7396B #CD608B #DC8EAD
Accessibility & contrast
On white
5.51
#B7396B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#B7396B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7396B
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7396B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7396B | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52596C
Deuteranopia (green-blind)
#747268
Tritanopia (blue-blind)
#C6294E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b7396b; /* rgb */ color: rgb(183, 57, 107); /* oklch */ color: oklch(54.2% 0.167 0.1);
Tailwind
colors: {
custom: {
50: '#d17895',
500: '#b7396b',
950: '#000000',
},
}SCSS
$custom: #b7396b; $custom-light: #d17895; $custom-dark: #000000;
JSON
{
"hex": "#b7396b",
"rgb": {
"r": 183,
"g": 57,
"b": 107
},
"hsl": {
"h": 336.19,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.54176,
"c": 0.16689,
"h": 0.1
},
"luminance": 0.14055
}Semantic roles & 50–950 ramp
primary
#B7396B
secondary
#85C7AD
accent
#DCA34C
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E