#2A0012

Closest named color: Dark Maroon (#3C0008). oklch(18.5% 0.075 358.8), rgb(42, 0, 18).

Aa

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

About this color

#2A0012 is a very dark, moderately saturated red. In OKLCH its lightness is 18%, its chroma 0.075 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.053 away. White text reads best on it, at 18.96:1.

Hue familyReds
Lightnessvery dark (18%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.10:1
White text18.96:1

Values

HEX#2A0012
RGBrgb(42, 0, 18)
HSLhsl(334, 100%, 8%)
OKLCHoklch(18.5% 0.075 358.8)

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 #2A0012 18.96:1 AAA Lc -106.9 Preferred for body text
Black text on #2A0012 1.10:1 Fails Lc 0.0 Not readable
#2A0012 text on white 18.96:1 AAA Lc 104.8 Preferred for body text
#2A0012 text on black 1.10: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F6CCD8

    oklch(88.5% 0.05 359.1)

  4. Step 300

    300

    #F1A9BF

    oklch(81% 0.089 359.3)

  5. Step 400

    400

    #E6789F

    oklch(70.8% 0.142 358.8)

  6. Step 500

    500

    #DB4F87

    oklch(63.1% 0.182 359)

  7. Step 600

    600

    #C62A71

    oklch(55.6% 0.198 358.8)

  8. Step 700

    700

    #AB1A5F

    oklch(49.2% 0.184 358.8)

  9. Step 800

    800

    #8B1A4D

    oklch(42.8% 0.152 359.1)

  10. Step 900

    900

    #701E40

    oklch(37.8% 0.119 359.2)

  11. Step 950

    950 (this color)

    #2A0012

    oklch(18.5% 0.075 358.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A0012 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)#080B120.085
Deuteranopia (no green cones)#1414110.077
Tritanopia (no blue cones)#2F00060.028
Achromatopsia (no color)#1010100.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A0012

    #2A0012

    oklch(18.5% 0.075 358.8)

  • #001713

    #001713

    oklch(18.3% 0.033 180.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A0012

    #2A0012

    oklch(18.5% 0.075 358.8)

  • #230323

    #230323

    oklch(18.6% 0.075 328.1)

  • #2C0000

    #2C0000

    oklch(18.4% 0.076 29.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A0012

    #2A0012

    oklch(18.5% 0.075 358.8)

  • #001905

    #001905

    oklch(18.6% 0.053 148.6)

  • #00161A

    #00161A

    oklch(18.3% 0.032 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A0012

    #2A0012

    oklch(18.5% 0.075 358.8)

  • #111500

    #111500

    oklch(18.5% 0.043 118.2)

  • #001523

    #001523

    oklch(18.6% 0.041 238.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A0012

    #2A0012

    oklch(18.5% 0.075 358.8)

  • #191100

    #191100

    oklch(18.3% 0.037 88.4)

  • #001713

    #001713

    oklch(18.3% 0.033 180.5)

  • #060D33

    #060D33

    oklch(18.3% 0.075 268.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A0012 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.