#831228

Closest named color: Wine Red (#7B0323). oklch(39.7% 0.145 17.6), rgb(131, 18, 40).

Aa

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

About this color

#831228 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.145 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.025 away. White text reads best on it, at 10.08:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.08:1
White text10.08:1

Values

HEX#831228
RGBrgb(131, 18, 40)
HSLhsl(348, 76%, 29%)
OKLCHoklch(39.7% 0.145 17.6)

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 #831228 10.08:1 AAA Lc -96.1 Preferred for body text
Black text on #831228 2.08:1 Fails Lc 12.1 Not readable
#831228 text on white 10.08:1 AAA Lc 91.8 Preferred for body text
#831228 text on black 2.08:1 Fails Lc -10.6 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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FEE2E2

    oklch(93.6% 0.031 17.7)

  3. Step 200

    200

    #FFCACA

    oklch(88.5% 0.06 18.4)

  4. Step 300

    300

    #FFA4A7

    oklch(81% 0.108 17.6)

  5. Step 400

    400

    #FA6B77

    oklch(70.7% 0.175 17.7)

  6. Step 500

    500

    #F23455

    oklch(63.2% 0.222 17.6)

  7. Step 600

    600

    #D6003F

    oklch(55.5% 0.222 17.7)

  8. Step 700

    700

    #B50034

    oklch(49% 0.196 17.6)

  9. Step 800

    800

    #96002A

    oklch(42.7% 0.171 17.4)

  10. Step 900

    900 (this color)

    #831228

    oklch(39.7% 0.145 17.6)

  11. Step 950

    950

    #4A0B15

    oklch(27.1% 0.092 17.6)

Export this scale for Tailwind in the Tailwind colors tool

#831228 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)#3633280.161
Deuteranopia (no green cones)#524A250.146
Tritanopia (no blue cones)#90001C0.029
Achromatopsia (no color)#4242420.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #831228

    #831228

    oklch(39.7% 0.145 17.6)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831228

    #831228

    oklch(39.7% 0.145 17.6)

  • #791755

    #791755

    oklch(39.6% 0.145 347.2)

  • #733000

    #733000

    oklch(39.6% 0.108 48)

Open the analogous palette in the generator

Split complementary

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

  • #831228

    #831228

    oklch(39.7% 0.145 17.6)

  • #00543E

    #00543E

    oklch(39.6% 0.08 167.8)

  • #004E67

    #004E67

    oklch(39.6% 0.077 228)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831228

    #831228

    oklch(39.7% 0.145 17.6)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

  • #004292

    #004292

    oklch(39.6% 0.145 257.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831228

    #831228

    oklch(39.7% 0.145 17.6)

  • #4C4900

    #4C4900

    oklch(39.5% 0.085 107)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

  • #46328F

    #46328F

    oklch(39.6% 0.146 287.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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