#820227

Closest named color: Wine Red (#7B0323). oklch(38.6% 0.153 15.7), rgb(130, 2, 39).

Aa

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

About this color

#820227 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.153 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.016 away. White text reads best on it, at 10.56:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text1.98:1
White text10.56:1

Values

HEX#820227
RGBrgb(130, 2, 39)
HSLhsl(343, 97%, 26%)
OKLCHoklch(38.6% 0.153 15.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 #820227 10.56:1 AAA Lc -96.6 Preferred for body text
Black text on #820227 1.98:1 Fails Lc 11.6 Not readable
#820227 text on white 10.56:1 AAA Lc 92.3 Preferred for body text
#820227 text on black 1.98:1 Fails Lc -10.1 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

    #FFE2E3

    oklch(93.7% 0.032 15.4)

  3. Step 200

    200

    #FFC9CC

    oklch(88.4% 0.062 14.7)

  4. Step 300

    300

    #FFA3A9

    oklch(80.9% 0.109 15.5)

  5. Step 400

    400

    #FD6779

    oklch(70.6% 0.183 15.9)

  6. Step 500

    500

    #F62758

    oklch(63.1% 0.234 15.6)

  7. Step 600

    600

    #D60045

    oklch(55.6% 0.223 15.8)

  8. Step 700

    700

    #B50039

    oklch(49.1% 0.196 15.7)

  9. Step 800

    800

    #96002E

    oklch(42.8% 0.171 15.6)

  10. Step 900

    900 (this color)

    #820227

    oklch(38.6% 0.153 15.7)

  11. Step 950

    950

    #4B0716

    oklch(27% 0.098 15.3)

Export this scale for Tailwind in the Tailwind colors tool

#820227 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)#312F270.172
Deuteranopia (no green cones)#4F47230.155
Tritanopia (no blue cones)#8F00150.036
Achromatopsia (no color)#3F3F3F0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #820227

    #820227

    oklch(38.6% 0.153 15.7)

  • #004F4F

    #004F4F

    oklch(38.7% 0.066 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #820227

    #820227

    oklch(38.6% 0.153 15.7)

  • #770D55

    #770D55

    oklch(38.5% 0.153 345.7)

  • #712C00

    #712C00

    oklch(38.7% 0.109 45.7)

Open the analogous palette in the generator

Split complementary

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

  • #820227

    #820227

    oklch(38.6% 0.153 15.7)

  • #00513A

    #00513A

    oklch(38.6% 0.08 166.2)

  • #004C62

    #004C62

    oklch(38.8% 0.074 225.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #820227

    #820227

    oklch(38.6% 0.153 15.7)

  • #255100

    #255100

    oklch(38.8% 0.115 135.6)

  • #004287

    #004287

    oklch(38.7% 0.13 255.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #820227

    #820227

    oklch(38.6% 0.153 15.7)

  • #4A4600

    #4A4600

    oklch(38.6% 0.082 105.9)

  • #004F4F

    #004F4F

    oklch(38.7% 0.066 194.8)

  • #412E90

    #412E90

    oklch(38.6% 0.153 285.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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