#42312D

Closest named color: Onyx (#343A40). oklch(33.1% 0.026 33.5), rgb(66, 49, 45).

Aa

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

About this color

#42312D is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.040 away. White text reads best on it, at 12.28:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.70:1
White text12.28:1

Values

HEX#42312D
RGBrgb(66, 49, 45)
HSLhsl(11, 19%, 22%)
OKLCHoklch(33.1% 0.026 33.5)

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 #42312D 12.28:1 AAA Lc -101.5 Preferred for body text
Black text on #42312D 1.70:1 Fails Lc 0.0 Not readable
#42312D text on white 12.28:1 AAA Lc 98.0 Preferred for body text
#42312D text on black 1.70: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 900.

  1. Step 50

    50

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE8E7

    oklch(93.5% 0.006 31.1)

  3. Step 200

    200

    #E0D7D4

    oklch(88.5% 0.011 39.4)

  4. Step 300

    300

    #CDBCB9

    oklch(80.9% 0.02 29.6)

  5. Step 400

    400

    #B39A94

    oklch(70.7% 0.031 33.7)

  6. Step 500

    500

    #A0817A

    oklch(63.1% 0.04 32.9)

  7. Step 600

    600

    #8B6B63

    oklch(55.7% 0.043 34.4)

  8. Step 700

    700

    #765952

    oklch(49.2% 0.04 33.9)

  9. Step 800

    800

    #604943

    oklch(42.8% 0.033 35.1)

  10. Step 900

    900 (this color)

    #42312D

    oklch(33.1% 0.026 33.5)

  11. Step 950

    950

    #2E2421

    oklch(27.1% 0.016 37.3)

Export this scale for Tailwind in the Tailwind colors tool

#42312D 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)#35332D0.024
Deuteranopia (no green cones)#39362D0.022
Tritanopia (no blue cones)#462F300.012
Achromatopsia (no color)#3535350.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #42312D

    #42312D

    oklch(33.1% 0.026 33.5)

  • #26393E

    #26393E

    oklch(33% 0.026 215.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42312D

    #42312D

    oklch(33.1% 0.026 33.5)

  • #423034

    #423034

    oklch(33.1% 0.027 3.9)

  • #3F3328

    #3F3328

    oklch(33.1% 0.025 64.3)

Open the analogous palette in the generator

Split complementary

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

  • #42312D

    #42312D

    oklch(33.1% 0.026 33.5)

  • #263A37

    #263A37

    oklch(33% 0.026 184.4)

  • #2A3742

    #2A3742

    oklch(33% 0.026 244.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42312D

    #42312D

    oklch(33.1% 0.026 33.5)

  • #2C3A2F

    #2C3A2F

    oklch(33.2% 0.027 151.2)

  • #313543

    #313543

    oklch(33.1% 0.025 272.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42312D

    #42312D

    oklch(33.1% 0.026 33.5)

  • #333829

    #333829

    oklch(33.1% 0.026 122.8)

  • #26393E

    #26393E

    oklch(33% 0.026 215.9)

  • #383341

    #383341

    oklch(33.2% 0.025 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42312D 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.