#AD1F5B

Closest named color: Raspberry (#B00149). oklch(49.7% 0.18 1.7), rgb(173, 31, 91).

Aa

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

About this color

#AD1F5B is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.180 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.028 away. White text reads best on it, at 6.72:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.12:1
White text6.72:1

Values

HEX#AD1F5B
RGBrgb(173, 31, 91)
HSLhsl(335, 70%, 40%)
OKLCHoklch(49.7% 0.18 1.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 #AD1F5B 6.72:1 AA Lc -86.7 Fine for body text
Black text on #AD1F5B 3.12:1 AA large text Lc 22.5 Dividers and decoration only
#AD1F5B text on white 6.72:1 AA Lc 81.6 Fine for body text
#AD1F5B text on black 3.12:1 AA large text Lc -20.3 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CCD7

    oklch(88.4% 0.049 0.6)

  4. Step 300

    300

    #F1A9BC

    oklch(80.9% 0.088 1.9)

  5. Step 400

    400

    #E6789A

    oklch(70.6% 0.14 1.7)

  6. Step 500

    500

    #DB5082

    oklch(63.1% 0.179 1.4)

  7. Step 600

    600

    #C62C6B

    oklch(55.5% 0.194 1.6)

  8. Step 700

    700 (this color)

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  9. Step 800

    800

    #8B1C49

    oklch(42.8% 0.149 1.8)

  10. Step 900

    900

    #701F3D

    oklch(37.8% 0.116 1.9)

  11. Step 950

    950

    #421424

    oklch(27.1% 0.073 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#AD1F5B 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)#434A5C0.204
Deuteranopia (no green cones)#6965580.182
Tritanopia (no blue cones)#BC003B0.053
Achromatopsia (no color)#5C5C5C0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AD1F5B

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  • #007366

    #007366

    oklch(49.8% 0.09 181.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AD1F5B

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  • #992D8F

    #992D8F

    oklch(49.8% 0.181 331.9)

  • #B2240E

    #B2240E

    oklch(49.7% 0.181 31.5)

Open the analogous palette in the generator

Split complementary

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

  • #AD1F5B

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  • #007739

    #007739

    oklch(49.8% 0.133 151.4)

  • #006F7F

    #006F7F

    oklch(49.7% 0.087 212)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AD1F5B

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  • #586C00

    #586C00

    oklch(49.7% 0.12 121.5)

  • #00699F

    #00699F

    oklch(49.8% 0.117 241.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AD1F5B

    #AD1F5B

    oklch(49.7% 0.18 1.7)

  • #786000

    #786000

    oklch(49.9% 0.102 91.7)

  • #007366

    #007366

    oklch(49.8% 0.09 181.4)

  • #4153C7

    #4153C7

    oklch(49.7% 0.18 271.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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