#510313
Closest named color: Mahogany (#4A0100). oklch(27.9% 0.108 18), rgb(81, 3, 19).
Aa
White text reads best on this color (15.30:1).
About this color
#510313 is a dark, moderately saturated red. In OKLCH its lightness is 28%, its chroma 0.108 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.030 away. White text reads best on it, at 15.30:1.
| Hue family | Reds |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.108) |
| Temperature | warm |
| Nearest name | Mahogany (#4A0100) |
| Black text | 1.37:1 |
| White text | 15.30:1 |
Values
| HEX | #510313 |
| RGB | rgb(81, 3, 19) |
| HSL | hsl(348, 93%, 16%) |
| OKLCH | oklch(27.9% 0.108 18) |
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 #510313 | 15.30:1 | AAA | Lc -103.9 | Preferred for body text |
| Black text on #510313 | 1.37:1 | Fails | Lc 0.0 | Not readable |
| #510313 text on white | 15.30:1 | AAA | Lc 100.9 | Preferred for body text |
| #510313 text on black | 1.37:1 | Fails | Lc 0.0 | Not readable |
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 950.
-
Step 50
50
#FFF2F2
oklch(97.1% 0.014 17.4)
-
Step 100
100
#FFE2E2
oklch(93.6% 0.032 17.7)
-
Step 200
200
#FFCACA
oklch(88.5% 0.06 18.4)
-
Step 300
300
#FFA4A6
oklch(81% 0.108 18.3)
-
Step 400
400
#FF6673
oklch(70.7% 0.186 18.2)
-
Step 500
500
#FE004B
oklch(63.2% 0.253 18.1)
-
Step 600
600
#D6003E
oklch(55.5% 0.222 18)
-
Step 700
700
#B60033
oklch(49.2% 0.197 18.1)
-
Step 800
800
#960029
oklch(42.7% 0.171 17.8)
-
Step 900
900
#7F0021
oklch(37.8% 0.151 18)
-
Step 950
950 (this color)
#510313
oklch(27.9% 0.108 18)
#510313 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) | #1D1B13 | 0.120 |
| Deuteranopia (no green cones) | #302B10 | 0.110 |
| Tritanopia (no blue cones) | #5A000A | 0.023 |
| Achromatopsia (no color) | #252525 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #510313
#510313
oklch(27.9% 0.108 18)
- #002F31
#002F31
oklch(27.7% 0.047 199.3)
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 #510313, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mahogany #4A0100 ΔE 0.030
- Burgundy #610023 ΔE 0.044
- Deep Brown #410200 ΔE 0.048
- Claret #680018 ΔE 0.055
- Dark Maroon #3C0008 ΔE 0.056
- Chocolate Brown #411900 ΔE 0.060
- Dark Plum #3F012C ΔE 0.069
- Reddy Brown #6E1005 ΔE 0.078
Use #510313 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.