#AF5162

Closest named color: Dark Rose (#B5485D). oklch(55.7% 0.123 10.7), rgb(175, 81, 98).

Aa

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

About this color

#AF5162 is a medium-dark, moderately saturated red. In OKLCH its lightness is 56%, its chroma 0.123 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Rose (#B5485D), ΔE 0.019 away. White text reads best on it, at 5.02:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameDark Rose (#B5485D)
Black text4.17:1
White text5.02:1

Values

HEX#AF5162
RGBrgb(175, 81, 98)
HSLhsl(349, 37%, 50%)
OKLCHoklch(55.7% 0.123 10.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 #AF5162 5.02:1 AA Lc -79.7 Fine for body text
Black text on #AF5162 4.17:1 AA large text Lc 29.8 Dividers and decoration only
#AF5162 text on white 5.02:1 AA Lc 74.3 Content text, not long reading
#AF5162 text on black 4.17:1 AA large text Lc -27.4 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 600.

  1. Step 50

    50

    #FAF3F4

    oklch(97% 0.008 7.3)

  2. Step 100

    100

    #F4E6E7

    oklch(93.6% 0.015 12.4)

  3. Step 200

    200

    #EDD1D4

    oklch(88.5% 0.032 10.4)

  4. Step 300

    300

    #E2B2B8

    oklch(80.8% 0.056 10)

  5. Step 400

    400

    #D18993

    oklch(70.6% 0.089 10.5)

  6. Step 500

    500

    #C36B79

    oklch(63.1% 0.112 10.7)

  7. Step 600

    600 (this color)

    #AF5162

    oklch(55.7% 0.123 10.7)

  8. Step 700

    700

    #964151

    oklch(49.2% 0.115 10.6)

  9. Step 800

    800

    #7A3642

    oklch(42.7% 0.095 11)

  10. Step 900

    900

    #622F38

    oklch(37.6% 0.074 10.1)

  11. Step 950

    950

    #3A1C21

    oklch(27% 0.047 10.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF5162 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)#6463620.135
Deuteranopia (no green cones)#7C76600.125
Tritanopia (no blue cones)#BD46570.032
Achromatopsia (no color)#6F6F6F0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5162

    #AF5162

    oklch(55.7% 0.123 10.7)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5162

    #AF5162

    oklch(55.7% 0.123 10.7)

  • #A25489

    #A25489

    oklch(55.7% 0.122 340.7)

  • #AF5736

    #AF5736

    oklch(55.8% 0.124 40.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF5162

    #AF5162

    oklch(55.7% 0.123 10.7)

  • #05895B

    #05895B

    oklch(55.7% 0.123 160.8)

  • #00819D

    #00819D

    oklch(55.8% 0.102 220.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5162

    #AF5162

    oklch(55.7% 0.123 10.7)

  • #5A822C

    #5A822C

    oklch(55.8% 0.124 130.7)

  • #3377B9

    #3377B9

    oklch(55.8% 0.124 250.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5162

    #AF5162

    oklch(55.7% 0.123 10.7)

  • #837500

    #837500

    oklch(55.8% 0.116 101)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

  • #6769BA

    #6769BA

    oklch(55.7% 0.124 280.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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