#B8316E#B8316E
#B8316E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.178 H 357.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B8316E |
|---|---|
| RGB | rgb(184, 49, 110) |
| HSL | hsl(333, 58%, 46%) |
| HSV | hsv(333, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 40.2%, 27.8%) |
| CIE-LAB | lab(43.53, 58.03, -3.14) |
| CIE-LCH | lch(43.53, 58.12, 356.90°) |
| OKLab | oklab(53.66% 0.1781 -0.0075) |
| OKLCH | oklch(53.66% 0.178 357.6) |
| XYZ | xyz(23.6816, 13.5157, 16.1105) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.44
Deep Pink
#CB0162
ΔE00 4.83
Mediumvioletred
#C71585
ΔE00 5.74
Dark Hot Pink
#D90166
ΔE00 6.65
Light Burgundy
#A8415B
ΔE00 6.67
Dark Pink
#CB416B
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8316E #31B87B
analogous
#B831B1 #B8316E #B83731
triadic
#B8316E #6EB831 #316EB8
tetradic
#B8316E #B1B831 #31B87B #3731B8
square
#B8316E #B1B831 #31B87B #3731B8
split-complementary
#B8316E #31B837 #31B1B8
monochromatic
#571734 #882451 #B8316E #D2558D #DE85AD
Accessibility & contrast
On white
5.67
#B8316E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#B8316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8316E
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8316E | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5770
Deuteranopia (green-blind)
#72706B
Tritanopia (blue-blind)
#C71F4B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b8316e; /* rgb */ color: rgb(184, 49, 110); /* oklch */ color: oklch(53.7% 0.178 357.6);
Tailwind
colors: {
custom: {
50: '#d27597',
500: '#b8316e',
950: '#000000',
},
}SCSS
$custom: #b8316e; $custom-light: #d27597; $custom-dark: #000000;
JSON
{
"hex": "#b8316e",
"rgb": {
"r": 184,
"g": 49,
"b": 110
},
"hsl": {
"h": 332.889,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.53661,
"c": 0.17828,
"h": 357.6
},
"luminance": 0.13513
}Semantic roles & 50–950 ramp
primary
#B8316E
secondary
#7DC8A6
accent
#E19B47
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E