#4C2138

Closest named color: Grape Purple (#5D1451). oklch(31.7% 0.072 348.7), rgb(76, 33, 56).

Aa

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

About this color

#4C2138 is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.072 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 13.27:1.

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.58:1
White text13.27:1

Values

HEX#4C2138
RGBrgb(76, 33, 56)
HSLhsl(328, 39%, 21%)
OKLCHoklch(31.7% 0.072 348.7)

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 #4C2138 13.27:1 AAA Lc -102.6 Preferred for body text
Black text on #4C2138 1.58:1 Fails Lc 0.0 Not readable
#4C2138 text on white 13.27:1 AAA Lc 99.4 Preferred for body text
#4C2138 text on black 1.58: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EBAACA

    oklch(80.8% 0.086 348.2)

  5. Step 400

    400

    #DE7BAE

    oklch(70.7% 0.136 349)

  6. Step 500

    500

    #D2559B

    oklch(63.2% 0.174 348.5)

  7. Step 600

    600

    #BD3485

    oklch(55.6% 0.189 348.8)

  8. Step 700

    700

    #A32571

    oklch(49.2% 0.176 348.7)

  9. Step 800

    800

    #84215C

    oklch(42.7% 0.146 348.5)

  10. Step 900

    900

    #6B224B

    oklch(37.8% 0.114 349.2)

  11. Step 950

    950 (this color)

    #4C2138

    oklch(31.7% 0.072 348.7)

Export this scale for Tailwind in the Tailwind colors tool

#4C2138 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)#252B390.078
Deuteranopia (no green cones)#3132370.070
Tritanopia (no blue cones)#51202A0.027
Achromatopsia (no color)#3030300.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2138

    #4C2138

    oklch(31.7% 0.072 348.7)

  • #003C2C

    #003C2C

    oklch(31.6% 0.064 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2138

    #4C2138

    oklch(31.7% 0.072 348.7)

  • #412549

    #412549

    oklch(31.7% 0.071 318.5)

  • #512123

    #512123

    oklch(31.8% 0.072 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #4C2138

    #4C2138

    oklch(31.7% 0.072 348.7)

  • #1D3A14

    #1D3A14

    oklch(31.5% 0.072 138.9)

  • #003A3C

    #003A3C

    oklch(31.6% 0.054 198.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2138

    #4C2138

    oklch(31.7% 0.072 348.7)

  • #353400

    #353400

    oklch(31.6% 0.068 108.6)

  • #00384B

    #00384B

    oklch(31.8% 0.062 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2138

    #4C2138

    oklch(31.7% 0.072 348.7)

  • #442D00

    #442D00

    oklch(31.7% 0.066 78.2)

  • #003C2C

    #003C2C

    oklch(31.6% 0.064 168.6)

  • #1A3256

    #1A3256

    oklch(31.8% 0.071 258.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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