#940728

Closest named color: Carmine (#9D0216). oklch(42.5% 0.166 18.7), rgb(148, 7, 40).

Aa

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

About this color

#940728 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.166 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.027 away. White text reads best on it, at 9.05:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.32:1
White text9.05:1

Values

HEX#940728
RGBrgb(148, 7, 40)
HSLhsl(346, 91%, 30%)
OKLCHoklch(42.5% 0.166 18.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 #940728 9.05:1 AAA Lc -93.3 Preferred for body text
Black text on #940728 2.32:1 Fails Lc 15.3 Dividers and decoration only
#940728 text on white 9.05:1 AAA Lc 88.7 Fine for body text
#940728 text on black 2.32:1 Fails Lc -13.5 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 800.

  1. Step 50

    50

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #F9A7A8

    oklch(80.8% 0.097 18.6)

  5. Step 400

    400

    #F2737A

    oklch(70.7% 0.156 18.5)

  6. Step 500

    500

    #E94558

    oklch(63.1% 0.199 18.7)

  7. Step 600

    600

    #D4123E

    oklch(55.6% 0.216 18.6)

  8. Step 700

    700

    #B60031

    oklch(49.2% 0.197 18.8)

  9. Step 800

    800 (this color)

    #940728

    oklch(42.5% 0.166 18.7)

  10. Step 900

    900

    #771725

    oklch(37.6% 0.129 18.6)

  11. Step 950

    950

    #461016

    oklch(26.9% 0.082 18.4)

Export this scale for Tailwind in the Tailwind colors tool

#940728 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)#3A37280.187
Deuteranopia (no green cones)#5B52230.169
Tritanopia (no blue cones)#A300180.036
Achromatopsia (no color)#4949490.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #940728

    #940728

    oklch(42.5% 0.166 18.7)

  • #005A5D

    #005A5D

    oklch(42.5% 0.072 198.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940728

    #940728

    oklch(42.5% 0.166 18.7)

  • #89115D

    #89115D

    oklch(42.4% 0.166 348.5)

  • #7E3600

    #7E3600

    oklch(42.4% 0.115 48.5)

Open the analogous palette in the generator

Split complementary

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

  • #940728

    #940728

    oklch(42.5% 0.166 18.7)

  • #005D46

    #005D46

    oklch(42.5% 0.085 168.7)

  • #005672

    #005672

    oklch(42.4% 0.083 228.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940728

    #940728

    oklch(42.5% 0.166 18.7)

  • #205E00

    #205E00

    oklch(42.5% 0.133 138.6)

  • #0048A5

    #0048A5

    oklch(42.5% 0.163 258.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940728

    #940728

    oklch(42.5% 0.166 18.7)

  • #535200

    #535200

    oklch(42.6% 0.092 108.9)

  • #005A5D

    #005A5D

    oklch(42.5% 0.072 198.7)

  • #5035A1

    #5035A1

    oklch(42.6% 0.165 288.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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