#520227
Closest named color: Burgundy (#610023). oklch(28.6% 0.113 0.9), rgb(82, 2, 39).
Aa
White text reads best on this color (15.03:1).
About this color
#520227 is a dark, moderately saturated red. In OKLCH its lightness is 29%, its chroma 0.113 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.037 away. White text reads best on it, at 15.03:1.
| Hue family | Reds |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.113) |
| Temperature | warm |
| Nearest name | Burgundy (#610023) |
| Black text | 1.39:1 |
| White text | 15.03:1 |
Values
| HEX | #520227 |
| RGB | rgb(82, 2, 39) |
| HSL | hsl(332, 95%, 16%) |
| OKLCH | oklch(28.6% 0.113 0.9) |
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 #520227 | 15.03:1 | AAA | Lc -103.6 | Preferred for body text |
| Black text on #520227 | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #520227 text on white | 15.03:1 | AAA | Lc 100.6 | Preferred for body text |
| #520227 text on black | 1.39: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
#FFF1F5
oklch(97% 0.016 358)
-
Step 100
100
#FFE1E8
oklch(93.6% 0.034 2)
-
Step 200
200
#FFC8D6
oklch(88.5% 0.065 1.6)
-
Step 300
300
#FFA0BC
oklch(80.9% 0.117 1)
-
Step 400
400
#FF5E99
oklch(70.7% 0.201 1)
-
Step 500
500
#F70081
oklch(63.1% 0.256 0.8)
-
Step 600
600
#D1006C
oklch(55.7% 0.225 0.9)
-
Step 700
700
#B1005A
oklch(49.2% 0.199 1.1)
-
Step 800
800
#92004A
oklch(42.7% 0.173 0.6)
-
Step 900
900
#7B003D
oklch(37.7% 0.153 0.8)
-
Step 950
950 (this color)
#520227
oklch(28.6% 0.113 0.9)
#520227 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) | #181D28 | 0.129 |
| Deuteranopia (no green cones) | #2E2C25 | 0.114 |
| Tritanopia (no blue cones) | #5A0014 | 0.037 |
| Achromatopsia (no color) | #272727 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #520227
#520227
oklch(28.6% 0.113 0.9)
- #00322C
#00322C
oklch(28.5% 0.051 182.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 #520227, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Burgundy #610023 ΔE 0.037
- Dark Plum #3F012C ΔE 0.051
- Aubergine #3D0734 ΔE 0.057
- Claret #680018 ΔE 0.060
- Mahogany #4A0100 ΔE 0.061
- Eggplant Purple #430541 ΔE 0.063
- Deep Violet #490648 ΔE 0.066
- Eggplant #380835 ΔE 0.069
Use #520227 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.