#470C12

Closest named color: Mahogany (#4A0100). oklch(26.5% 0.088 20.4), rgb(71, 12, 18).

Aa

White text reads best on this color (15.79:1).

About this color

#470C12 is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.088 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.024 away. White text reads best on it, at 15.79:1.

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.32:1
White text15.79:1

Values

HEX#470C12
RGBrgb(71, 12, 18)
HSLhsl(354, 71%, 16%)
OKLCHoklch(26.5% 0.088 20.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #470C12 15.79:1 AAA Lc -104.8 Preferred for body text
Black text on #470C12 1.32:1 Fails Lc 0.0 Not readable
#470C12 text on white 15.79:1 AAA Lc 102.0 Preferred for body text
#470C12 text on black 1.32: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.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FDCBC9

    oklch(88.5% 0.057 21)

  4. Step 300

    300

    #FDA5A4

    oklch(80.9% 0.105 20.3)

  5. Step 400

    400

    #F76F74

    oklch(70.7% 0.167 20.1)

  6. Step 500

    500

    #EF3C4F

    oklch(63.1% 0.214 20.5)

  7. Step 600

    600

    #D70036

    oklch(55.6% 0.223 20.4)

  8. Step 700

    700

    #B6002C

    oklch(49.1% 0.197 20.5)

  9. Step 800

    800

    #970023

    oklch(42.8% 0.172 20.4)

  10. Step 900

    900

    #7B1020

    oklch(37.8% 0.139 20.3)

  11. Step 950

    950 (this color)

    #470C12

    oklch(26.5% 0.088 20.4)

Export this scale for Tailwind in the Tailwind colors tool

#470C12 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1D1B120.096
Deuteranopia (no green cones)#2C27100.088
Tritanopia (no blue cones)#4F000F0.021
Achromatopsia (no color)#2323230.088

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #470C12

    #470C12

    oklch(26.5% 0.088 20.4)

  • #002C2E

    #002C2E

    oklch(26.6% 0.045 199.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #470C12

    #470C12

    oklch(26.5% 0.088 20.4)

  • #420D2B

    #420D2B

    oklch(26.5% 0.088 350)

  • #3F1900

    #3F1900

    oklch(26.6% 0.07 50.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #470C12

    #470C12

    oklch(26.5% 0.088 20.4)

  • #002D21

    #002D21

    oklch(26.4% 0.052 169.9)

  • #002A3A

    #002A3A

    oklch(26.7% 0.053 229.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #470C12

    #470C12

    oklch(26.5% 0.088 20.4)

  • #072F00

    #072F00

    oklch(26.7% 0.086 140.3)

  • #08234F

    #08234F

    oklch(26.6% 0.087 259.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #470C12

    #470C12

    oklch(26.5% 0.088 20.4)

  • #272700

    #272700

    oklch(26.4% 0.058 109.8)

  • #002C2E

    #002C2E

    oklch(26.6% 0.045 199.5)

  • #261A4C

    #261A4C

    oklch(26.4% 0.088 290.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #470C12, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #470C12 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.