#B3315F#B3315F
#B3315F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.169 H 3.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B3315F |
|---|---|
| RGB | rgb(179, 49, 95) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 46.9%, 29.8%) |
| CIE-LAB | lab(42.17, 55.13, 4.10) |
| CIE-LCH | lch(42.17, 55.28, 4.26°) |
| OKLab | oklab(52.34% 0.1687 0.0111) |
| OKLCH | oklch(52.34% 0.169 3.8) |
| XYZ | xyz(21.7560, 12.6094, 12.1125) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.74
Deep Pink
#CB0162
ΔE00 4.33
Purplish Red
#B0054B
ΔE00 5.24
Raspberry (survey)
#B00149
ΔE00 5.65
Dark Rose
#B5485D
ΔE00 6.01
Violet Red
#A50055
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3315F #31B385
analogous
#B331A0 #B3315F #B34431
triadic
#B3315F #5FB331 #315FB3
tetradic
#B3315F #A0B331 #31B385 #4431B3
square
#B3315F #A0B331 #31B385 #4431B3
split-complementary
#B3315F #31B344 #31A0B3
monochromatic
#53172C #832446 #B3315F #D0527E #DD82A2
Accessibility & contrast
On white
5.96
#B3315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B3315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3315F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3315F | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C31A44
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b3315f; /* rgb */ color: rgb(179, 49, 95); /* oklch */ color: oklch(52.3% 0.169 3.8);
Tailwind
colors: {
custom: {
50: '#cf748c',
500: '#b3315f',
950: '#000000',
},
}SCSS
$custom: #b3315f; $custom-light: #cf748c; $custom-dark: #000000;
JSON
{
"hex": "#b3315f",
"rgb": {
"r": 179,
"g": 49,
"b": 95
},
"hsl": {
"h": 338.769,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.52343,
"c": 0.16903,
"h": 3.8
},
"luminance": 0.12607
}Semantic roles & 50–950 ramp
primary
#B3315F
secondary
#7AC6AB
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D