#B1313F#B1313F
#B1313F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.164 H 19.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B1313F |
|---|---|
| RGB | rgb(177, 49, 63) |
| HSL | hsl(353, 57%, 44%) |
| HSV | hsv(353, 72%, 69%) |
| CMYK | cmyk(0%, 72.3%, 64.4%, 30.6%) |
| CIE-LAB | lab(41.07, 52.06, 22.54) |
| CIE-LCH | lch(41.07, 56.73, 23.41°) |
| OKLab | oklab(51.22% 0.1545 0.0539) |
| OKLCH | oklch(51.22% 0.164 19.2) |
| XYZ | xyz(20.1291, 11.9056, 5.9397) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.59
Rose Red
#BE013C
ΔE00 4.06
Lipstick Red
#C0022F
ΔE00 4.51
Rouge
#AB1239
ΔE00 4.65
Dull Red
#BB3F3F
ΔE00 4.83
Dusty Red
#B9484E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1313F #31B1A3
analogous
#B1317F #B1313F #B16331
triadic
#B1313F #3FB131 #313FB1
tetradic
#B1313F #7FB131 #31B1A3 #6331B1
square
#B1313F #7FB131 #31B1A3 #6331B1
split-complementary
#B1313F #31B163 #317FB1
monochromatic
#51161D #81242E #B1313F #CF515E #DC808A
Accessibility & contrast
On white
6.21
#B1313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B1313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1313F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1313F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54503F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#C20537
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b1313f; /* rgb */ color: rgb(177, 49, 63); /* oklch */ color: oklch(51.2% 0.164 19.2);
Tailwind
colors: {
custom: {
50: '#cf7374',
500: '#b1313f',
950: '#000000',
},
}SCSS
$custom: #b1313f; $custom-light: #cf7374; $custom-dark: #000000;
JSON
{
"hex": "#b1313f",
"rgb": {
"r": 177,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.438,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.51219,
"c": 0.16365,
"h": 19.2
},
"luminance": 0.11903
}Semantic roles & 50–950 ramp
primary
#B1313F
secondary
#79C5BD
accent
#E0CF48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B