#CF307D

Closest named color: Medium Violet Red (#C71585). oklch(57.9% 0.203 356.4), rgb(207, 48, 125).

Aa

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

About this color

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

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

Values

HEX#CF307D
RGBrgb(207, 48, 125)
HSLhsl(331, 62%, 50%)
OKLCHoklch(57.9% 0.203 356.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 #CF307D 4.80:1 AA Lc -77.4 Fine for body text
Black text on #CF307D 4.37:1 AA large text Lc 32.2 Non-text elements, placeholder text
#CF307D text on white 4.80:1 AA Lc 71.9 Content text, not long reading
#CF307D text on black 4.37:1 AA large text Lc -29.8 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

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F6CCDA

    oklch(88.5% 0.051 356.2)

  4. Step 300

    300

    #F1A8C2

    oklch(80.9% 0.092 356.3)

  5. Step 400

    400

    #E676A3

    oklch(70.6% 0.147 356.1)

  6. Step 500

    500

    #DC4D8C

    oklch(63.2% 0.187 356.7)

  7. Step 600

    600 (this color)

    #CF307D

    oklch(57.9% 0.203 356.4)

  8. Step 700

    700

    #AB1563

    oklch(49.1% 0.189 356.5)

  9. Step 800

    800

    #8B1751

    oklch(42.7% 0.157 356.4)

  10. Step 900

    900

    #701C43

    oklch(37.7% 0.123 356.4)

  11. Step 950

    950

    #421227

    oklch(26.9% 0.078 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#CF307D 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)#525F7F0.229
Deuteranopia (no green cones)#7E7D790.205
Tritanopia (no blue cones)#E018530.067
Achromatopsia (no color)#7272720.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF307D

    #CF307D

    oklch(57.9% 0.203 356.4)

  • #008E78

    #008E78

    oklch(57.8% 0.108 176.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF307D

    #CF307D

    oklch(57.9% 0.203 356.4)

  • #B441B8

    #B441B8

    oklch(58% 0.203 326.4)

  • #D83131

    #D83131

    oklch(57.9% 0.203 26.4)

Open the analogous palette in the generator

Split complementary

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

  • #CF307D

    #CF307D

    oklch(57.9% 0.203 356.4)

  • #009431

    #009431

    oklch(58% 0.175 146.5)

  • #008A97

    #008A97

    oklch(57.9% 0.099 206.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF307D

    #CF307D

    oklch(57.9% 0.203 356.4)

  • #768300

    #768300

    oklch(57.9% 0.133 116.5)

  • #0084BA

    #0084BA

    oklch(58% 0.125 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF307D

    #CF307D

    oklch(57.9% 0.203 356.4)

  • #997400

    #997400

    oklch(58% 0.119 86.3)

  • #008E78

    #008E78

    oklch(57.8% 0.108 176.6)

  • #426DF0

    #426DF0

    oklch(57.9% 0.203 266.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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