#B9313F#B9313F
#B9313F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.172 H 20.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B9313F |
|---|---|
| RGB | rgb(185, 49, 63) |
| HSL | hsl(354, 58%, 46%) |
| HSV | hsv(354, 74%, 73%) |
| CMYK | cmyk(0%, 73.5%, 65.9%, 27.5%) |
| CIE-LAB | lab(42.57, 54.56, 24.76) |
| CIE-LCH | lch(42.57, 59.91, 24.41°) |
| OKLab | oklab(52.61% 0.1614 0.0587) |
| OKLCH | oklch(52.61% 0.172 20) |
| XYZ | xyz(22.0055, 12.8731, 6.0277) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.34
Dull Red
#BB3F3F
ΔE00 3.62
Lipstick Red
#C0022F
ΔE00 3.98
Rose Red
#BE013C
ΔE00 4.31
Cherry (survey)
#CF0234
ΔE00 4.41
Dusty Red
#B9484E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9313F #31B9AB
analogous
#B93183 #B9313F #B96731
triadic
#B9313F #3FB931 #313FB9
tetradic
#B9313F #83B931 #31B9AB #6731B9
square
#B9313F #83B931 #31B9AB #6731B9
split-complementary
#B9313F #31B967 #3183B9
monochromatic
#58171E #89242F #B9313F #D25562 #DF868F
Accessibility & contrast
On white
5.88
#B9313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B9313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9313F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9313F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57523E
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#CB0037
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b9313f; /* rgb */ color: rgb(185, 49, 63); /* oklch */ color: oklch(52.6% 0.172 20.0);
Tailwind
colors: {
custom: {
50: '#d67474',
500: '#b9313f',
950: '#000000',
},
}SCSS
$custom: #b9313f; $custom-light: #d67474; $custom-dark: #000000;
JSON
{
"hex": "#b9313f",
"rgb": {
"r": 185,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.824,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.52613,
"c": 0.17177,
"h": 20
},
"luminance": 0.1287
}Semantic roles & 50–950 ramp
primary
#B9313F
secondary
#7DC8C1
accent
#E1D146
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B