#AB2862

Closest named color: Violet Red (#A50055). oklch(50.3% 0.173 358.9), rgb(171, 40, 98).

Aa

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

About this color

#AB2862 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.173 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.039 away. White text reads best on it, at 6.53:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.21:1
White text6.53:1

Values

HEX#AB2862
RGBrgb(171, 40, 98)
HSLhsl(333, 62%, 41%)
OKLCHoklch(50.3% 0.173 358.9)

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 #AB2862 6.53:1 AA Lc -86.3 Fine for body text
Black text on #AB2862 3.21:1 AA large text Lc 22.9 Dividers and decoration only
#AB2862 text on white 6.53:1 AA Lc 81.1 Fine for body text
#AB2862 text on black 3.21:1 AA large text Lc -20.7 Dividers and decoration only

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

  1. Step 50

    50

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E4E9

    oklch(93.7% 0.024 1.3)

  3. Step 200

    200

    #F4CDD8

    oklch(88.5% 0.046 359.2)

  4. Step 300

    300

    #EEAABF

    oklch(80.8% 0.084 359)

  5. Step 400

    400

    #E27B9F

    oklch(70.7% 0.133 358.8)

  6. Step 500

    500

    #D75487

    oklch(63.1% 0.171 359)

  7. Step 600

    600

    #C23371

    oklch(55.6% 0.186 358.9)

  8. Step 700

    700 (this color)

    #AB2862

    oklch(50.3% 0.173 358.9)

  9. Step 800

    800

    #88204D

    oklch(42.7% 0.144 359.1)

  10. Step 900

    900

    #6D2240

    oklch(37.7% 0.11 359.2)

  11. Step 950

    950

    #401526

    oklch(27% 0.07 358.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB2862 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)#454E630.194
Deuteranopia (no green cones)#69665F0.173
Tritanopia (no blue cones)#B912420.053
Achromatopsia (no color)#5D5D5D0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2862

    #AB2862

    oklch(50.3% 0.173 358.9)

  • #007565

    #007565

    oklch(50.3% 0.092 178.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2862

    #AB2862

    oklch(50.3% 0.173 358.9)

  • #963493

    #963493

    oklch(50.2% 0.173 329)

  • #B12B21

    #B12B21

    oklch(50.2% 0.172 29)

Open the analogous palette in the generator

Split complementary

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

  • #AB2862

    #AB2862

    oklch(50.3% 0.173 358.9)

  • #007931

    #007931

    oklch(50.3% 0.143 148.8)

  • #00717E

    #00717E

    oklch(50.2% 0.086 208.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2862

    #AB2862

    oklch(50.3% 0.173 358.9)

  • #5D6D00

    #5D6D00

    oklch(50.4% 0.119 119.3)

  • #006B9D

    #006B9D

    oklch(50.2% 0.113 239.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2862

    #AB2862

    oklch(50.3% 0.173 358.9)

  • #7C6000

    #7C6000

    oklch(50.3% 0.103 88.7)

  • #007565

    #007565

    oklch(50.3% 0.092 178.8)

  • #3D58C5

    #3D58C5

    oklch(50.3% 0.173 268.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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