#D7254A

Closest named color: Lipstick (#D5174E). oklch(57.2% 0.209 16.7), rgb(215, 37, 74).

Aa

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

About this color

#D7254A is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.209 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.016 away. White text reads best on it, at 4.93:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.25:1
White text4.93:1

Values

HEX#D7254A
RGBrgb(215, 37, 74)
HSLhsl(348, 71%, 49%)
OKLCHoklch(57.2% 0.209 16.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 #D7254A 4.93:1 AA Lc -77.8 Fine for body text
Black text on #D7254A 4.25:1 AA large text Lc 31.7 Non-text elements, placeholder text
#D7254A text on white 4.93:1 AA Lc 72.4 Content text, not long reading
#D7254A text on black 4.25:1 AA large text Lc -29.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 600.

  1. Step 50

    50

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FACCCD

    oklch(88.5% 0.052 16.7)

  4. Step 300

    300

    #F7A8AB

    oklch(80.9% 0.094 16.8)

  5. Step 400

    400

    #EF757F

    oklch(70.7% 0.15 16.6)

  6. Step 500

    500

    #E6495F

    oklch(63.1% 0.192 16.7)

  7. Step 600

    600 (this color)

    #D7254A

    oklch(57.2% 0.209 16.7)

  8. Step 700

    700

    #B40537

    oklch(49% 0.194 16.7)

  9. Step 800

    800

    #93102E

    oklch(42.8% 0.161 16.7)

  10. Step 900

    900

    #761A29

    oklch(37.8% 0.125 16.8)

  11. Step 950

    950

    #451118

    oklch(26.9% 0.079 16.5)

Export this scale for Tailwind in the Tailwind colors tool

#D7254A 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)#5D594A0.233
Deuteranopia (no green cones)#897D450.212
Tritanopia (no blue cones)#EC00360.044
Achromatopsia (no color)#7070700.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7254A

    #D7254A

    oklch(57.2% 0.209 16.7)

  • #00898B

    #00898B

    oklch(57.1% 0.097 196.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7254A

    #D7254A

    oklch(57.2% 0.209 16.7)

  • #C72E90

    #C72E90

    oklch(57.2% 0.209 346.6)

  • #C05200

    #C05200

    oklch(57.2% 0.159 46.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7254A

    #D7254A

    oklch(57.2% 0.209 16.7)

  • #008D69

    #008D69

    oklch(57.1% 0.117 167.1)

  • #0084AA

    #0084AA

    oklch(57.2% 0.11 226.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7254A

    #D7254A

    oklch(57.2% 0.209 16.7)

  • #408D00

    #408D00

    oklch(57.1% 0.172 136.6)

  • #0073EB

    #0073EB

    oklch(57.3% 0.201 256.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7254A

    #D7254A

    oklch(57.2% 0.209 16.7)

  • #817C00

    #817C00

    oklch(57.2% 0.123 106.9)

  • #00898B

    #00898B

    oklch(57.1% 0.097 196.6)

  • #7559EA

    #7559EA

    oklch(57.3% 0.209 286.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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