#4C1227

Closest named color: Burgundy (#610023). oklch(28.8% 0.089 2.4), rgb(76, 18, 39).

Aa

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

About this color

#4C1227 is a dark, moderately saturated red. In OKLCH its lightness is 29%, its chroma 0.089 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.048 away. White text reads best on it, at 14.75:1.

Hue familyReds
Lightnessdark (29%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.42:1
White text14.75:1

Values

HEX#4C1227
RGBrgb(76, 18, 39)
HSLhsl(338, 62%, 18%)
OKLCHoklch(28.8% 0.089 2.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 #4C1227 14.75:1 AAA Lc -103.9 Preferred for body text
Black text on #4C1227 1.42:1 Fails Lc 0.0 Not readable
#4C1227 text on white 14.75:1 AAA Lc 101.0 Preferred for body text
#4C1227 text on black 1.42: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

    #FDE2E8

    oklch(93.6% 0.031 2.6)

  3. Step 200

    200

    #FCCAD6

    oklch(88.6% 0.059 2.3)

  4. Step 300

    300

    #FAA4BB

    oklch(81% 0.105 2.3)

  5. Step 400

    400

    #F36D97

    oklch(70.7% 0.169 2.7)

  6. Step 500

    500

    #E93A7E

    oklch(63% 0.215 2.5)

  7. Step 600

    600

    #D10068

    oklch(55.6% 0.224 2.4)

  8. Step 700

    700

    #B10057

    oklch(49.1% 0.198 2.4)

  9. Step 800

    800

    #930047

    oklch(42.8% 0.173 2.5)

  10. Step 900

    900

    #780E3B

    oklch(37.7% 0.141 2.6)

  11. Step 950

    950 (this color)

    #4C1227

    oklch(28.8% 0.089 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#4C1227 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)#1E21280.100
Deuteranopia (no green cones)#2E2C260.090
Tritanopia (no blue cones)#530A1B0.024
Achromatopsia (no color)#2828280.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1227

    #4C1227

    oklch(28.8% 0.089 2.4)

  • #00332D

    #00332D

    oklch(28.8% 0.051 182.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1227

    #4C1227

    oklch(28.8% 0.089 2.4)

  • #43163E

    #43163E

    oklch(28.8% 0.089 332.2)

  • #4E140A

    #4E140A

    oklch(28.8% 0.089 32.2)

Open the analogous palette in the generator

Split complementary

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

  • #4C1227

    #4C1227

    oklch(28.8% 0.089 2.4)

  • #003517

    #003517

    oklch(28.8% 0.075 152.3)

  • #003139

    #003139

    oklch(28.7% 0.05 211.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1227

    #4C1227

    oklch(28.8% 0.089 2.4)

  • #253000

    #253000

    oklch(28.8% 0.07 122.3)

  • #002E4A

    #002E4A

    oklch(28.9% 0.069 242.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1227

    #4C1227

    oklch(28.8% 0.089 2.4)

  • #352A00

    #352A00

    oklch(28.9% 0.059 93.5)

  • #00332D

    #00332D

    oklch(28.8% 0.051 182.5)

  • #1D2556

    #1D2556

    oklch(28.8% 0.089 272.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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