#540F38
Closest named color: Burgundy (#610023). oklch(30.7% 0.109 349.1), rgb(84, 15, 56).
Aa
White text reads best on this color (13.97:1).
About this color
#540F38 is a dark, moderately saturated red. In OKLCH its lightness is 31%, its chroma 0.109 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.046 away. White text reads best on it, at 13.97:1.
| Hue family | Reds |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.109) |
| Temperature | warm |
| Nearest name | Burgundy (#610023) |
| Black text | 1.50:1 |
| White text | 13.97:1 |
Values
| HEX | #540F38 |
| RGB | rgb(84, 15, 56) |
| HSL | hsl(324, 70%, 19%) |
| OKLCH | oklch(30.7% 0.109 349.1) |
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 #540F38 | 13.97:1 | AAA | Lc -102.9 | Preferred for body text |
| Black text on #540F38 | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #540F38 text on white | 13.97:1 | AAA | Lc 99.8 | Preferred for body text |
| #540F38 text on black | 1.50: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
#FFF1F7
oklch(97.1% 0.017 349.5)
-
Step 100
100
#FEE0EE
oklch(93.5% 0.038 348)
-
Step 200
200
#FFC6E0
oklch(88.4% 0.073 349.6)
-
Step 300
300
#FE9DCE
oklch(80.9% 0.129 348.7)
-
Step 400
400
#F85FB4
oklch(70.7% 0.205 349.2)
-
Step 500
500
#F002A2
oklch(63.1% 0.264 349)
-
Step 600
600
#CB0088
oklch(55.6% 0.233 349.1)
-
Step 700
700
#AC0072
oklch(49.1% 0.205 349.4)
-
Step 800
800
#8E005E
oklch(42.7% 0.179 349.1)
-
Step 900
900
#77004E
oklch(37.6% 0.157 349.1)
-
Step 950
950 (this color)
#540F38
oklch(30.7% 0.109 349.1)
#540F38 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) | #1A2439 | 0.122 |
| Deuteranopia (no green cones) | #2E3036 | 0.107 |
| Tritanopia (no blue cones) | #5B0B22 | 0.042 |
| Achromatopsia (no color) | #2C2C2C | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #540F38
#540F38
oklch(30.7% 0.109 349.1)
- #00392A
#00392A
oklch(30.6% 0.061 169.1)
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 #540F38, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Burgundy #610023 ΔE 0.046
- Deep Violet #490648 ΔE 0.047
- Grape Purple #5D1451 ΔE 0.048
- Eggplant Purple #430541 ΔE 0.052
- Plum Purple #4E0550 ΔE 0.053
- Aubergine #3D0734 ΔE 0.059
- Dark Plum #3F012C ΔE 0.062
- Claret #680018 ΔE 0.068
Use #540F38 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.