#4A1223

Closest named color: Mahogany (#4A0100). oklch(28.3% 0.086 6), rgb(74, 18, 35).

Aa

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

About this color

#4A1223 is a dark, moderately saturated red. In OKLCH its lightness is 28%, its chroma 0.086 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.050 away. White text reads best on it, at 14.97:1.

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.40:1
White text14.97:1

Values

HEX#4A1223
RGBrgb(74, 18, 35)
HSLhsl(342, 61%, 18%)
OKLCHoklch(28.3% 0.086 6)

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 #4A1223 14.97:1 AAA Lc -104.2 Preferred for body text
Black text on #4A1223 1.40:1 Fails Lc 0.0 Not readable
#4A1223 text on white 14.97:1 AAA Lc 101.3 Preferred for body text
#4A1223 text on black 1.40: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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FBCAD3

    oklch(88.4% 0.057 6)

  4. Step 300

    300

    #F9A5B6

    oklch(80.9% 0.101 6.3)

  5. Step 400

    400

    #F17091

    oklch(70.7% 0.161 6.1)

  6. Step 500

    500

    #E83F76

    oklch(63.1% 0.207 6)

  7. Step 600

    600

    #D3005F

    oklch(55.7% 0.223 6.1)

  8. Step 700

    700

    #B2004F

    oklch(49% 0.197 6.1)

  9. Step 800

    800

    #930040

    oklch(42.6% 0.171 6.1)

  10. Step 900

    900

    #771336

    oklch(37.7% 0.135 6.4)

  11. Step 950

    950 (this color)

    #4A1223

    oklch(28.3% 0.086 6)

Export this scale for Tailwind in the Tailwind colors tool

#4A1223 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)#1F20230.095
Deuteranopia (no green cones)#2D2B220.087
Tritanopia (no blue cones)#5109190.022
Achromatopsia (no color)#2727270.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1223

    #4A1223

    oklch(28.3% 0.086 6)

  • #00312D

    #00312D

    oklch(28.2% 0.049 186.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1223

    #4A1223

    oklch(28.3% 0.086 6)

  • #421539

    #421539

    oklch(28.2% 0.086 336.2)

  • #4B1506

    #4B1506

    oklch(28.3% 0.085 36.1)

Open the analogous palette in the generator

Split complementary

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

  • #4A1223

    #4A1223

    oklch(28.3% 0.086 6)

  • #00331B

    #00331B

    oklch(28.2% 0.068 156.6)

  • #002F39

    #002F39

    oklch(28.1% 0.05 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1223

    #4A1223

    oklch(28.3% 0.086 6)

  • #212F00

    #212F00

    oklch(28.2% 0.071 125.4)

  • #002C4B

    #002C4B

    oklch(28.4% 0.072 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1223

    #4A1223

    oklch(28.3% 0.086 6)

  • #322900

    #322900

    oklch(28.3% 0.058 96.3)

  • #00312D

    #00312D

    oklch(28.2% 0.049 186.2)

  • #1F2353

    #1F2353

    oklch(28.2% 0.086 275.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A1223 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.