#B3315E#B3315E
#B3315E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.169 H 4.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B3315E |
|---|---|
| RGB | rgb(179, 49, 94) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 47.5%, 29.8%) |
| CIE-LAB | lab(42.14, 55.04, 4.69) |
| CIE-LCH | lch(42.14, 55.24, 4.87°) |
| OKLab | oklab(52.31% 0.1683 0.0126) |
| OKLCH | oklch(52.31% 0.169 4.3) |
| XYZ | xyz(21.7109, 12.5913, 11.8746) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.59
Deep Pink
#CB0162
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.48
Dark Rose
#B5485D
ΔE00 5.83
Light Maroon
#A24857
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3315E #31B386
analogous
#B3319F #B3315E #B34531
triadic
#B3315E #5EB331 #315EB3
tetradic
#B3315E #9FB331 #31B386 #4531B3
square
#B3315E #9FB331 #31B386 #4531B3
split-complementary
#B3315E #31B345 #319FB3
monochromatic
#53172C #832445 #B3315E #D0527D #DD82A1
Accessibility & contrast
On white
5.97
#B3315E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B3315E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3315E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3315E | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#C31944
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b3315e; /* rgb */ color: rgb(179, 49, 94); /* oklch */ color: oklch(52.3% 0.169 4.3);
Tailwind
colors: {
custom: {
50: '#cf748b',
500: '#b3315e',
950: '#000000',
},
}SCSS
$custom: #b3315e; $custom-light: #cf748b; $custom-dark: #000000;
JSON
{
"hex": "#b3315e",
"rgb": {
"r": 179,
"g": 49,
"b": 94
},
"hsl": {
"h": 339.231,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.52313,
"c": 0.16878,
"h": 4.3
},
"luminance": 0.12588
}Semantic roles & 50–950 ramp
primary
#B3315E
secondary
#7AC6AC
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D