#B3316F#B3316F
#B3316F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.174 H 355.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B3316F |
|---|---|
| RGB | rgb(179, 49, 111) |
| HSL | hsl(331, 57%, 45%) |
| HSV | hsv(331, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 38%, 29.8%) |
| CIE-LAB | lab(42.66, 56.74, -5.15) |
| CIE-LCH | lch(42.66, 56.97, 354.81°) |
| OKLab | oklab(52.86% 0.174 -0.0129) |
| OKLCH | oklch(52.86% 0.175 355.8) |
| XYZ | xyz(22.5594, 12.9308, 16.3437) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.11
Mediumvioletred
#C71585
ΔE00 5.50
Deep Pink
#CB0162
ΔE00 5.85
Violet Red
#A50055
ΔE00 6.95
Deep Magenta
#A0025C
ΔE00 7.05
Light Burgundy
#A8415B
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3316F #31B375
analogous
#B331B0 #B3316F #B33431
triadic
#B3316F #6FB331 #316FB3
tetradic
#B3316F #B0B331 #31B375 #3431B3
square
#B3316F #B0B331 #31B375 #3431B3
split-complementary
#B3316F #31B334 #31B0B3
monochromatic
#531733 #832451 #B3316F #D0528E #DD82AD
Accessibility & contrast
On white
5.86
#B3316F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B3316F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3316F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3316F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3316F | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C1234C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b3316f; /* rgb */ color: rgb(179, 49, 111); /* oklch */ color: oklch(52.9% 0.174 355.8);
Tailwind
colors: {
custom: {
50: '#ce7498',
500: '#b3316f',
950: '#000000',
},
}SCSS
$custom: #b3316f; $custom-light: #ce7498; $custom-dark: #000000;
JSON
{
"hex": "#b3316f",
"rgb": {
"r": 179,
"g": 49,
"b": 111
},
"hsl": {
"h": 331.385,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.52864,
"c": 0.1745,
"h": 355.8
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#B3316F
secondary
#7AC6A2
accent
#E09748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E