#CD307F

Closest named color: Medium Violet Red (#C71585). oklch(57.7% 0.203 355.1), rgb(205, 48, 127).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.32:1
White text4.85:1

Values

HEX#CD307F
RGBrgb(205, 48, 127)
HSLhsl(330, 62%, 50%)
OKLCHoklch(57.7% 0.203 355.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 #CD307F 4.85:1 AA Lc -77.7 Fine for body text
Black text on #CD307F 4.32:1 AA large text Lc 31.8 Non-text elements, placeholder text
#CD307F text on white 4.85:1 AA Lc 72.3 Content text, not long reading
#CD307F text on black 4.32:1 AA large text Lc -29.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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F6CCDB

    oklch(88.5% 0.051 354.7)

  4. Step 300

    300

    #F1A8C3

    oklch(80.9% 0.092 355.5)

  5. Step 400

    400

    #E677A5

    oklch(70.8% 0.146 355.3)

  6. Step 500

    500

    #DB4D8F

    oklch(63.1% 0.187 355.1)

  7. Step 600

    600 (this color)

    #CD307F

    oklch(57.7% 0.203 355.1)

  8. Step 700

    700

    #AA1666

    oklch(49% 0.189 354.9)

  9. Step 800

    800

    #8A1853

    oklch(42.6% 0.156 355)

  10. Step 900

    900

    #6F1D45

    oklch(37.7% 0.121 354.7)

  11. Step 950

    950

    #421328

    oklch(27.1% 0.077 355.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD307F 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)#505F810.228
Deuteranopia (no green cones)#7C7C7B0.203
Tritanopia (no blue cones)#DD1B540.068
Achromatopsia (no color)#7171710.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD307F

    #CD307F

    oklch(57.7% 0.203 355.1)

  • #008E76

    #008E76

    oklch(57.7% 0.109 175.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD307F

    #CD307F

    oklch(57.7% 0.203 355.1)

  • #B141B9

    #B141B9

    oklch(57.6% 0.202 325)

  • #D73035

    #D73035

    oklch(57.7% 0.203 25)

Open the analogous palette in the generator

Split complementary

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

  • #CD307F

    #CD307F

    oklch(57.7% 0.203 355.1)

  • #009327

    #009327

    oklch(57.7% 0.181 145.1)

  • #008A95

    #008A95

    oklch(57.8% 0.099 204.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD307F

    #CD307F

    oklch(57.7% 0.203 355.1)

  • #778200

    #778200

    oklch(57.8% 0.131 115.6)

  • #0083B7

    #0083B7

    oklch(57.6% 0.123 235.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD307F

    #CD307F

    oklch(57.7% 0.203 355.1)

  • #997300

    #997300

    oklch(57.7% 0.118 85.5)

  • #008E76

    #008E76

    oklch(57.7% 0.109 175.1)

  • #3D6DEF

    #3D6DEF

    oklch(57.7% 0.203 265.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CD307F.

Similar named colors

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

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