#B1313E#B1313E
#B1313E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.164 H 19.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B1313E |
|---|---|
| RGB | rgb(177, 49, 62) |
| HSL | hsl(354, 57%, 44%) |
| HSV | hsv(354, 72%, 69%) |
| CMYK | cmyk(0%, 72.3%, 65%, 30.6%) |
| CIE-LAB | lab(41.05, 52.00, 23.13) |
| CIE-LCH | lch(41.05, 56.91, 23.98°) |
| OKLab | oklab(51.2% 0.1541 0.0552) |
| OKLCH | oklch(51.2% 0.164 19.7) |
| XYZ | xyz(20.1014, 11.8945, 5.7939) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.51
Rose Red
#BE013C
ΔE00 4.20
Lipstick Red
#C0022F
ΔE00 4.34
Dull Red
#BB3F3F
ΔE00 4.63
Rouge
#AB1239
ΔE00 4.80
Dusty Red
#B9484E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1313E #31B1A4
analogous
#B1317E #B1313E #B16431
triadic
#B1313E #3EB131 #313EB1
tetradic
#B1313E #7EB131 #31B1A4 #6431B1
square
#B1313E #7EB131 #31B1A4 #6431B1
split-complementary
#B1313E #31B164 #317EB1
monochromatic
#51161C #81242D #B1313E #CF515D #DC808A
Accessibility & contrast
On white
6.22
#B1313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B1313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1313E
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1313E | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54503E
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#C20437
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b1313e; /* rgb */ color: rgb(177, 49, 62); /* oklch */ color: oklch(51.2% 0.164 19.7);
Tailwind
colors: {
custom: {
50: '#d07373',
500: '#b1313e',
950: '#000000',
},
}SCSS
$custom: #b1313e; $custom-light: #d07373; $custom-dark: #000000;
JSON
{
"hex": "#b1313e",
"rgb": {
"r": 177,
"g": 49,
"b": 62
},
"hsl": {
"h": 353.906,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.512,
"c": 0.16369,
"h": 19.7
},
"luminance": 0.11892
}Semantic roles & 50–950 ramp
primary
#B1313E
secondary
#79C5BD
accent
#E0D048
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B