#B31312
Closest named color: Rufous (#AE2012). oklch(48.9% 0.19 28.3), rgb(179, 19, 18).
Aa
White text reads best on this color (6.95:1).
About this color
#B31312 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.190 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.013 away. White text reads best on it, at 6.95:1.
| Hue family | Reds |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.190) |
| Temperature | warm |
| Nearest name | Rufous (#AE2012) |
| Black text | 3.01:1 |
| White text | 6.95:1 |
Values
| HEX | #B31312 |
| RGB | rgb(179, 19, 18) |
| HSL | hsl(0, 82%, 39%) |
| OKLCH | oklch(48.9% 0.19 28.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #B31312 | 6.95:1 | AA | Lc -87.0 | Fine for body text |
| Black text on #B31312 | 3.01:1 | AA large text | Lc 22.1 | Dividers and decoration only |
| #B31312 text on white | 6.95:1 | AA | Lc 82.0 | Fine for body text |
| #B31312 text on black | 3.01:1 | AA large text | Lc -19.9 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#FEF3F1
oklch(97.2% 0.012 29.9)
-
Step 100
100
#FBE4E0
oklch(93.6% 0.026 29.4)
-
Step 200
200
#F9CDC6
oklch(88.4% 0.051 28.7)
-
Step 300
300
#F6AA9F
oklch(80.8% 0.092 28.4)
-
Step 400
400
#EE796B
oklch(70.7% 0.147 28.4)
-
Step 500
500
#E54F42
oklch(63.2% 0.188 28.5)
-
Step 600
600
#D02721
oklch(55.5% 0.204 28.3)
-
Step 700
700 (this color)
#B31312
oklch(48.9% 0.19 28.3)
-
Step 800
800
#921814
oklch(42.7% 0.157 28.3)
-
Step 900
900
#751D18
oklch(37.6% 0.123 27.9)
-
Step 950
950
#45130F
oklch(26.9% 0.078 28)
#B31312 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #4D440E | 0.208 |
| Deuteranopia (no green cones) | #726503 | 0.187 |
| Tritanopia (no blue cones) | #C60017 | 0.038 |
| Achromatopsia (no color) | #595959 | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B31312
#B31312
oklch(48.9% 0.19 28.3)
- #006D79
#006D79
oklch(48.9% 0.084 208)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B31312, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rufous #AE2012 ΔE 0.013
- Firebrick #B22222 ΔE 0.014
- Scarlet #BE0119 ΔE 0.023
- Rust Red #AA2704 ΔE 0.026
- Rusty Red #AF2F0D ΔE 0.031
- Brown #A52A2A ΔE 0.033
- Lipstick Red #C0022F ΔE 0.038
- Burnt Red #9F2305 ΔE 0.042
Use #B31312 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.