#B8396C#B8396C
#B8396C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.168 H 359.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B8396C |
|---|---|
| RGB | rgb(184, 57, 108) |
| HSL | hsl(336, 53%, 47%) |
| HSV | hsv(336, 69%, 72%) |
| CMYK | cmyk(0%, 69%, 41.3%, 27.8%) |
| CIE-LAB | lab(44.52, 54.89, -0.45) |
| CIE-LCH | lch(44.52, 54.89, 359.53°) |
| OKLab | oklab(54.37% 0.1681 -0.0005) |
| OKLCH | oklch(54.37% 0.168 359.8) |
| XYZ | xyz(23.9387, 14.2022, 15.6651) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.83
Light Burgundy
#A8415B
ΔE00 5.42
Dark Pink
#CB416B
ΔE00 5.60
Magenta (survey)
#C20078
ΔE00 6.10
Dark Hot Pink
#D90166
ΔE00 6.19
Deep Rose
#C74767
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8396C #39B885
analogous
#B839AB #B8396C #B84639
triadic
#B8396C #6CB839 #396CB8
tetradic
#B8396C #ABB839 #39B885 #4639B8
square
#B8396C #ABB839 #39B885 #4639B8
split-complementary
#B8396C #39B846 #39ABB8
monochromatic
#5B1C35 #892B51 #B8396C #CE608C #DC8FAE
Accessibility & contrast
On white
5.47
#B8396C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#B8396C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8396C
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8396C | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525A6D
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#C7294E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b8396c; /* rgb */ color: rgb(184, 57, 108); /* oklch */ color: oklch(54.4% 0.168 359.8);
Tailwind
colors: {
custom: {
50: '#d27896',
500: '#b8396c',
950: '#000000',
},
}SCSS
$custom: #b8396c; $custom-light: #d27896; $custom-dark: #000000;
JSON
{
"hex": "#b8396c",
"rgb": {
"r": 184,
"g": 57,
"b": 108
},
"hsl": {
"h": 335.906,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.54371,
"c": 0.16814,
"h": 359.8
},
"luminance": 0.14199
}Semantic roles & 50–950 ramp
primary
#B8396C
secondary
#86C7AD
accent
#DCA24C
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E