#B3315A#B3315A
#B3315A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.168 H 6.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B3315A |
|---|---|
| RGB | rgb(179, 49, 90) |
| HSL | hsl(341, 57%, 45%) |
| HSV | hsv(341, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 49.7%, 29.8%) |
| CIE-LAB | lab(42.03, 54.68, 7.04) |
| CIE-LCH | lch(42.03, 55.13, 7.34°) |
| OKLab | oklab(52.2% 0.1668 0.0184) |
| OKLCH | oklch(52.2% 0.168 6.3) |
| XYZ | xyz(21.5360, 12.5214, 10.9537) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.17
Purplish Red
#B0054B
ΔE00 4.63
Deep Pink
#CB0162
ΔE00 4.72
Raspberry (survey)
#B00149
ΔE00 4.94
Dark Rose
#B5485D
ΔE00 5.19
Light Maroon
#A24857
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3315A #31B38A
analogous
#B3319B #B3315A #B34931
triadic
#B3315A #5AB331 #315AB3
tetradic
#B3315A #9BB331 #31B38A #4931B3
square
#B3315A #9BB331 #31B38A #4931B3
split-complementary
#B3315A #31B349 #319BB3
monochromatic
#53172A #832442 #B3315A #D05279 #DD829E
Accessibility & contrast
On white
5.99
#B3315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B3315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3315A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3315A | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50535B
Deuteranopia (green-blind)
#726D57
Tritanopia (blue-blind)
#C31742
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b3315a; /* rgb */ color: rgb(179, 49, 90); /* oklch */ color: oklch(52.2% 0.168 6.3);
Tailwind
colors: {
custom: {
50: '#cf7488',
500: '#b3315a',
950: '#000000',
},
}SCSS
$custom: #b3315a; $custom-light: #cf7488; $custom-dark: #000000;
JSON
{
"hex": "#b3315a",
"rgb": {
"r": 179,
"g": 49,
"b": 90
},
"hsl": {
"h": 341.077,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.52198,
"c": 0.16785,
"h": 6.3
},
"luminance": 0.12519
}Semantic roles & 50–950 ramp
primary
#B3315A
secondary
#7AC6AE
accent
#E0B048
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C