#B3313F#B3313F
#B3313F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.166 H 19.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B3313F |
|---|---|
| RGB | rgb(179, 49, 63) |
| HSL | hsl(354, 57%, 45%) |
| HSV | hsv(354, 73%, 70%) |
| CMYK | cmyk(0%, 72.6%, 64.8%, 29.8%) |
| CIE-LAB | lab(41.44, 52.69, 23.09) |
| CIE-LCH | lch(41.44, 57.53, 23.67°) |
| OKLab | oklab(51.57% 0.1563 0.0551) |
| OKLCH | oklch(51.57% 0.166 19.4) |
| XYZ | xyz(20.5881, 12.1422, 5.9613) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.24
Rose Red
#BE013C
ΔE00 4.05
Lipstick Red
#C0022F
ΔE00 4.32
Dull Red
#BB3F3F
ΔE00 4.50
Rouge
#AB1239
ΔE00 4.94
Dusty Red
#B9484E
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3313F #31B3A5
analogous
#B33180 #B3313F #B36431
triadic
#B3313F #3FB331 #313FB3
tetradic
#B3313F #80B331 #31B3A5 #6431B3
square
#B3313F #80B331 #31B3A5 #6431B3
split-complementary
#B3313F #31B364 #3180B3
monochromatic
#53171D #83242E #B3313F #D0525F #DD828C
Accessibility & contrast
On white
6.13
#B3313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B3313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3313F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3313F | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#C40237
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b3313f; /* rgb */ color: rgb(179, 49, 63); /* oklch */ color: oklch(51.6% 0.166 19.4);
Tailwind
colors: {
custom: {
50: '#d17374',
500: '#b3313f',
950: '#000000',
},
}SCSS
$custom: #b3313f; $custom-light: #d17374; $custom-dark: #000000;
JSON
{
"hex": "#b3313f",
"rgb": {
"r": 179,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.538,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.51567,
"c": 0.16569,
"h": 19.4
},
"luminance": 0.12139
}Semantic roles & 50–950 ramp
primary
#B3313F
secondary
#7AC6BE
accent
#E0D048
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B