#7F0C40
Closest named color: Wine (#80013F). oklch(39.2% 0.149 1.4), rgb(127, 12, 64).
Aa
White text reads best on this color (10.34:1).
About this color
#7F0C40 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.149 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.008 away. White text reads best on it, at 10.34:1.
| Hue family | Reds |
| Lightness | dark (39%) |
| Chroma | vivid (0.149) |
| Temperature | warm |
| Nearest name | Wine (#80013F) |
| Black text | 2.02:1 |
| White text | 10.34:1 |
Values
| HEX | #7F0C40 |
| RGB | rgb(127, 12, 64) |
| HSL | hsl(333, 83%, 27%) |
| OKLCH | oklch(39.2% 0.149 1.4) |
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 #7F0C40 | 10.34:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #7F0C40 | 2.02:1 | Fails | Lc 11.6 | Not readable |
| #7F0C40 text on white | 10.34:1 | AAA | Lc 92.3 | Preferred for body text |
| #7F0C40 text on black | 2.02:1 | Fails | Lc -10.1 | 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 900.
-
Step 50
50
#FFF2F5
oklch(97.2% 0.015 1.5)
-
Step 100
100
#FEE1E8
oklch(93.5% 0.033 1.4)
-
Step 200
200
#FEC9D6
oklch(88.6% 0.062 2.1)
-
Step 300
300
#FDA2BC
oklch(81% 0.112 1.4)
-
Step 400
400
#F66899
oklch(70.6% 0.179 1.2)
-
Step 500
500
#EE2E80
oklch(63.1% 0.23 1.4)
-
Step 600
600
#D1006A
oklch(55.6% 0.225 1.6)
-
Step 700
700
#B10059
oklch(49.1% 0.199 1.5)
-
Step 800
800
#920049
oklch(42.7% 0.173 1.1)
-
Step 900
900 (this color)
#7F0C40
oklch(39.2% 0.149 1.4)
-
Step 950
950
#480923
oklch(26.9% 0.095 1.5)
#7F0C40 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) | #2C3241 | 0.171 |
| Deuteranopia (no green cones) | #4B483D | 0.152 |
| Tritanopia (no blue cones) | #8B0026 | 0.047 |
| Achromatopsia (no color) | #404040 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F0C40
#7F0C40
oklch(39.2% 0.149 1.4)
- #005148
#005148
oklch(39% 0.07 182.2)
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 #7F0C40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wine #80013F ΔE 0.008
- Red Purple #820747 ΔE 0.014
- Bordeaux #7B002C ΔE 0.032
- Merlot #730039 ΔE 0.032
- Red Wine #8C0034 ΔE 0.034
- Velvet #750851 ΔE 0.041
- Wine Red #7B0323 ΔE 0.044
- Mulberry #920A4E ΔE 0.046
Use #7F0C40 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.