#B8397F#B8397F
#B8397F is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.176 H 350.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B8397F |
|---|---|
| RGB | rgb(184, 57, 127) |
| HSL | hsl(327, 53%, 47%) |
| HSV | hsv(327, 69%, 72%) |
| CMYK | cmyk(0%, 69%, 31%, 27.8%) |
| CIE-LAB | lab(45.15, 57.03, -11.18) |
| CIE-LCH | lch(45.15, 58.12, 348.91°) |
| OKLab | oklab(55.04% 0.1739 -0.0291) |
| OKLCH | oklch(55.04% 0.176 350.5) |
| XYZ | xyz(25.0623, 14.6517, 21.5828) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.72
Magenta (survey)
#C20078
ΔE00 4.41
Light Plum
#9D5783
ΔE00 7.56
Deep Pink
#CB0162
ΔE00 8.10
Purpleish
#98568D
ΔE00 8.91
Dark Pink
#CB416B
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8397F #39B872
analogous
#B139B8 #B8397F #B83940
triadic
#B8397F #7FB839 #397FB8
tetradic
#B8397F #B8B139 #39B872 #3940B8
square
#B8397F #B8B139 #39B872 #3940B8
split-complementary
#B8397F #40B839 #39B8B1
monochromatic
#5B1C3E #892B5F #B8397F #CE609D #DC8FBA
Accessibility & contrast
On white
5.34
#B8397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#B8397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8397F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8397F | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#C53257
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b8397f; /* rgb */ color: rgb(184, 57, 127); /* oklch */ color: oklch(55.0% 0.176 350.5);
Tailwind
colors: {
custom: {
50: '#d179a4',
500: '#b8397f',
950: '#000000',
},
}SCSS
$custom: #b8397f; $custom-light: #d179a4; $custom-dark: #000000;
JSON
{
"hex": "#b8397f",
"rgb": {
"r": 184,
"g": 57,
"b": 127
},
"hsl": {
"h": 326.929,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.55043,
"c": 0.17633,
"h": 350.5
},
"luminance": 0.14649
}Semantic roles & 50–950 ramp
primary
#B8397F
secondary
#86C7A3
accent
#DC8D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F