#B3319A#B3319A
#B3319A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 336.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B3319A |
|---|---|
| RGB | rgb(179, 49, 154) |
| HSL | hsl(312, 57%, 45%) |
| HSV | hsv(312, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 14%, 29.8%) |
| CIE-LAB | lab(44.40, 62.23, -28.76) |
| CIE-LCH | lch(44.40, 68.56, 335.20°) |
| OKLab | oklab(54.7% 0.1831 -0.0782) |
| OKLCH | oklch(54.7% 0.199 336.9) |
| XYZ | xyz(25.5219, 14.1158, 31.9461) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 4.94
Warm Purple
#952E8F
ΔE00 6.20
Mediumvioletred
#C71585
ΔE00 6.30
Barney
#AC1DB8
ΔE00 6.77
Purpley Pink
#C83CB9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3319A #31B34A
analogous
#8B31B3 #B3319A #B33159
triadic
#B3319A #9AB331 #319AB3
tetradic
#B3319A #B38B31 #31B34A #3159B3
square
#B3319A #B38B31 #31B34A #3159B3
split-complementary
#B3319A #59B331 #31B38B
monochromatic
#531747 #832471 #B3319A #D052B7 #DD82CB
Accessibility & contrast
On white
5.49
#B3319A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#B3319A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3319A
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3319A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3319A | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#BC3962
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b3319a; /* rgb */ color: rgb(179, 49, 154); /* oklch */ color: oklch(54.7% 0.199 336.9);
Tailwind
colors: {
custom: {
50: '#cd75b8',
500: '#b3319a',
950: '#000000',
},
}SCSS
$custom: #b3319a; $custom-light: #cd75b8; $custom-dark: #000000;
JSON
{
"hex": "#b3319a",
"rgb": {
"r": 179,
"g": 49,
"b": 154
},
"hsl": {
"h": 311.538,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.547,
"c": 0.19913,
"h": 336.9
},
"luminance": 0.14113
}Semantic roles & 50–950 ramp
primary
#B3319A
secondary
#7AC689
accent
#E06548
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80