#EC7A1F

Closest named color: Pumpkin (#E17701). oklch(69.7% 0.168 52.4), rgb(236, 122, 31).

Aa

Black text reads best on this color (7.37:1).

About this color

#EC7A1F is a medium-light, vivid orange. In OKLCH its lightness is 70%, its chroma 0.168 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Pumpkin (#E17701), ΔE 0.024 away. Black text reads best on it, at 7.37:1.

Hue familyOranges
Lightnessmedium-light (70%)
Chromavivid (0.168)
Temperaturewarm
Nearest namePumpkin (#E17701)
Black text7.37:1
White text2.84:1

Values

HEX#EC7A1F
RGBrgb(236, 122, 31)
HSLhsl(27, 84%, 52%)
OKLCHoklch(69.7% 0.168 52.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 #EC7A1F 2.84:1 Fails Lc -59.3 Large or bold text, headings
Black text on #EC7A1F 7.37:1 AAA Lc 50.0 Large or bold text, headings
#EC7A1F text on white 2.84:1 Fails Lc 54.0 Large or bold text, headings
#EC7A1F text on black 7.37:1 AAA Lc -47.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FEF3ED

    oklch(97.1% 0.014 50.8)

  2. Step 100

    100

    #FBE5D8

    oklch(93.6% 0.03 52.7)

  3. Step 200

    200

    #F9CFB6

    oklch(88.4% 0.058 52.5)

  4. Step 300

    300

    #F7AD80

    oklch(80.8% 0.106 52)

  5. Step 400

    400 (this color)

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  6. Step 500

    500

    #D26700

    oklch(63% 0.161 52.4)

  7. Step 600

    600

    #B15600

    oklch(55.5% 0.142 52.5)

  8. Step 700

    700

    #964800

    oklch(49.2% 0.125 52.6)

  9. Step 800

    800

    #7C3A00

    oklch(42.8% 0.11 52.3)

  10. Step 900

    900

    #683000

    oklch(37.8% 0.096 52.7)

  11. Step 950

    950

    #401B00

    oklch(27.2% 0.069 52.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC7A1F 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)#9B89060.143
Deuteranopia (no green cones)#B7A31C0.128
Tritanopia (no blue cones)#FF60690.103
Achromatopsia (no color)#9999990.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7A1F

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  • #00ABE7

    #00ABE7

    oklch(69.7% 0.143 232.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7A1F

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  • #F46C6C

    #F46C6C

    oklch(69.7% 0.168 22.4)

  • #C99300

    #C99300

    oklch(69.7% 0.143 82.3)

Open the analogous palette in the generator

Split complementary

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

  • #EC7A1F

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  • #00B3BD

    #00B3BD

    oklch(69.8% 0.119 201.9)

  • #669AFF

    #669AFF

    oklch(69.6% 0.159 262.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7A1F

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  • #00B895

    #00B895

    oklch(69.7% 0.134 172.6)

  • #A286FC

    #A286FC

    oklch(69.7% 0.169 292.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7A1F

    #EC7A1F

    oklch(69.7% 0.168 52.4)

  • #57B750

    #57B750

    oklch(69.8% 0.168 142.3)

  • #00ABE7

    #00ABE7

    oklch(69.7% 0.143 232.7)

  • #CD76DA

    #CD76DA

    oklch(69.7% 0.167 322.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #EC7A1F 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.