#CD338C

Closest named color: Medium Violet Red (#C71585). oklch(58.4% 0.206 350.1), rgb(205, 51, 140).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.44:1
White text4.72:1

Values

HEX#CD338C
RGBrgb(205, 51, 140)
HSLhsl(325, 61%, 50%)
OKLCHoklch(58.4% 0.206 350.1)

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 #CD338C 4.72:1 AA Lc -76.9 Fine for body text
Black text on #CD338C 4.44:1 AA large text Lc 32.6 Non-text elements, placeholder text
#CD338C text on white 4.72:1 AA Lc 71.5 Content text, not long reading
#CD338C text on black 4.44:1 AA large text Lc -30.2 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8C9

    oklch(80.9% 0.093 349.9)

  5. Step 400

    400

    #E377AD

    oklch(70.7% 0.147 350.2)

  6. Step 500

    500

    #D84D99

    oklch(63.1% 0.189 350.1)

  7. Step 600

    600 (this color)

    #CD338C

    oklch(58.4% 0.206 350.1)

  8. Step 700

    700

    #A8176F

    oklch(49.1% 0.191 350.3)

  9. Step 800

    800

    #89185B

    oklch(42.8% 0.159 350.1)

  10. Step 900

    900

    #6E1D4A

    oklch(37.7% 0.123 350.5)

  11. Step 950

    950

    #41132C

    oklch(27.1% 0.078 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#CD338C 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)#4D628E0.230
Deuteranopia (no green cones)#7A7D890.202
Tritanopia (no blue cones)#DC285B0.078
Achromatopsia (no color)#7373730.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD338C

    #CD338C

    oklch(58.4% 0.206 350.1)

  • #009171

    #009171

    oklch(58.4% 0.116 170.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD338C

    #CD338C

    oklch(58.4% 0.206 350.1)

  • #AE45C5

    #AE45C5

    oklch(58.3% 0.206 320)

  • #DA2F45

    #DA2F45

    oklch(58.3% 0.205 20.1)

Open the analogous palette in the generator

Split complementary

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

  • #CD338C

    #CD338C

    oklch(58.4% 0.206 350.1)

  • #2B9400

    #2B9400

    oklch(58.4% 0.188 140.1)

  • #008D93

    #008D93

    oklch(58.5% 0.099 200.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD338C

    #CD338C

    oklch(58.4% 0.206 350.1)

  • #818100

    #818100

    oklch(58.4% 0.127 109.8)

  • #0087B3

    #0087B3

    oklch(58.4% 0.117 230.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD338C

    #CD338C

    oklch(58.4% 0.206 350.1)

  • #A07200

    #A07200

    oklch(58.4% 0.121 80.5)

  • #009171

    #009171

    oklch(58.4% 0.116 170.1)

  • #2573F2

    #2573F2

    oklch(58.3% 0.205 260.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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