#D12794

Closest named color: Medium Violet Red (#C71585). oklch(58.5% 0.223 347.4), rgb(209, 39, 148).

Aa

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

About this color

#D12794 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.223 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.033 away. White text reads best on it, at 4.74:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.42:1
White text4.74:1

Values

HEX#D12794
RGBrgb(209, 39, 148)
HSLhsl(322, 69%, 49%)
OKLCHoklch(58.5% 0.223 347.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 #D12794 4.74:1 AA Lc -76.7 Fine for body text
Black text on #D12794 4.42:1 AA large text Lc 32.8 Non-text elements, placeholder text
#D12794 text on white 4.74:1 AA Lc 71.3 Content text, not long reading
#D12794 text on black 4.42:1 AA large text Lc -30.4 Non-text elements, placeholder text

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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2ED

    oklch(93.5% 0.03 348.2)

  3. Step 200

    200

    #F6CBE0

    oklch(88.5% 0.055 347.3)

  4. Step 300

    300

    #F1A6CD

    oklch(80.9% 0.101 347.1)

  5. Step 400

    400

    #E672B3

    oklch(70.6% 0.161 347.3)

  6. Step 500

    500

    #DB46A0

    oklch(63.1% 0.205 347.4)

  7. Step 600

    600 (this color)

    #D12794

    oklch(58.5% 0.223 347.4)

  8. Step 700

    700

    #AB0076

    oklch(49.1% 0.207 347.4)

  9. Step 800

    800

    #8B0C60

    oklch(42.7% 0.172 347.4)

  10. Step 900

    900

    #70184F

    oklch(37.8% 0.134 347.2)

  11. Step 950

    950

    #42102E

    oklch(27% 0.085 347.4)

Export this scale for Tailwind in the Tailwind colors tool

#D12794 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)#4461970.252
Deuteranopia (no green cones)#777D900.218
Tritanopia (no blue cones)#E01D5C0.090
Achromatopsia (no color)#7373730.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12794

    #D12794

    oklch(58.5% 0.223 347.4)

  • #00926D

    #00926D

    oklch(58.6% 0.12 167.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12794

    #D12794

    oklch(58.5% 0.223 347.4)

  • #AF3FD0

    #AF3FD0

    oklch(58.5% 0.224 317.5)

  • #E11B48

    #E11B48

    oklch(58.5% 0.223 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #D12794

    #D12794

    oklch(58.5% 0.223 347.4)

  • #3E9200

    #3E9200

    oklch(58.4% 0.178 137.4)

  • #008E90

    #008E90

    oklch(58.6% 0.1 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12794

    #D12794

    oklch(58.5% 0.223 347.4)

  • #848000

    #848000

    oklch(58.4% 0.126 107.5)

  • #0088B0

    #0088B0

    oklch(58.5% 0.114 227.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12794

    #D12794

    oklch(58.5% 0.223 347.4)

  • #A47100

    #A47100

    oklch(58.6% 0.123 77.4)

  • #00926D

    #00926D

    oklch(58.6% 0.12 167.2)

  • #0075F5

    #0075F5

    oklch(58.5% 0.211 257.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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