#98174F

Closest named color: Berry (#990F4B). oklch(45% 0.166 1.4), rgb(152, 23, 79).

Aa

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

About this color

#98174F is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.166 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.008 away. White text reads best on it, at 8.16:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.57:1
White text8.16:1

Values

HEX#98174F
RGBrgb(152, 23, 79)
HSLhsl(334, 74%, 34%)
OKLCHoklch(45% 0.166 1.4)

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 #98174F 8.16:1 AAA Lc -91.4 Preferred for body text
Black text on #98174F 2.57:1 Fails Lc 17.3 Dividers and decoration only
#98174F text on white 8.16:1 AAA Lc 86.7 Fine for body text
#98174F text on black 2.57:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F9CBD7

    oklch(88.5% 0.054 0.8)

  4. Step 300

    300

    #F6A6BC

    oklch(80.9% 0.098 1.6)

  5. Step 400

    400

    #ED729A

    oklch(70.7% 0.156 1.4)

  6. Step 500

    500

    #E34581

    oklch(63.1% 0.199 1.6)

  7. Step 600

    600

    #CE156B

    oklch(55.6% 0.216 1.4)

  8. Step 700

    700

    #B10059

    oklch(49.1% 0.199 1.5)

  9. Step 800

    800 (this color)

    #98174F

    oklch(45% 0.166 1.4)

  10. Step 900

    900

    #74173D

    oklch(37.7% 0.13 1.3)

  11. Step 950

    950

    #441024

    oklch(26.9% 0.082 0.7)

Export this scale for Tailwind in the Tailwind colors tool

#98174F 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)#393F500.188
Deuteranopia (no green cones)#5B584C0.169
Tritanopia (no blue cones)#A600310.051
Achromatopsia (no color)#4F4F4F0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #98174F

    #98174F

    oklch(45% 0.166 1.4)

  • #006458

    #006458

    oklch(45.1% 0.081 180.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98174F

    #98174F

    oklch(45% 0.166 1.4)

  • #86257E

    #86257E

    oklch(45.1% 0.166 331.5)

  • #9D1C08

    #9D1C08

    oklch(45.1% 0.166 31.5)

Open the analogous palette in the generator

Split complementary

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

  • #98174F

    #98174F

    oklch(45% 0.166 1.4)

  • #006730

    #006730

    oklch(45% 0.12 151.3)

  • #00606E

    #00606E

    oklch(44.9% 0.078 211.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98174F

    #98174F

    oklch(45% 0.166 1.4)

  • #4C5E00

    #4C5E00

    oklch(45.1% 0.109 121.7)

  • #005B8A

    #005B8A

    oklch(45.1% 0.105 241.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98174F

    #98174F

    oklch(45% 0.166 1.4)

  • #685300

    #685300

    oklch(45.1% 0.092 91.8)

  • #006458

    #006458

    oklch(45.1% 0.081 180.9)

  • #3747B0

    #3747B0

    oklch(45% 0.167 271.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #98174F 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.