#CF2540

Closest named color: Cherry (#CF0234). oklch(55.6% 0.202 19.4), rgb(207, 37, 64).

Aa

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

About this color

#CF2540 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.202 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.021 away. White text reads best on it, at 5.26:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.99:1
White text5.26:1

Values

HEX#CF2540
RGBrgb(207, 37, 64)
HSLhsl(350, 70%, 48%)
OKLCHoklch(55.6% 0.202 19.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 #CF2540 5.26:1 AA Lc -79.8 Fine for body text
Black text on #CF2540 3.99:1 AA large text Lc 29.7 Dividers and decoration only
#CF2540 text on white 5.26:1 AA Lc 74.4 Content text, not long reading
#CF2540 text on black 3.99:1 AA large text Lc -27.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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CDCC

    oklch(88.6% 0.05 19.7)

  4. Step 300

    300

    #F6A9A9

    oklch(80.9% 0.091 19.2)

  5. Step 400

    400

    #ED777B

    oklch(70.6% 0.146 19.4)

  6. Step 500

    500

    #E44D5A

    oklch(63.2% 0.186 19.4)

  7. Step 600

    600 (this color)

    #CF2540

    oklch(55.6% 0.202 19.4)

  8. Step 700

    700

    #B31232

    oklch(49.2% 0.189 19.4)

  9. Step 800

    800

    #91162A

    oklch(42.7% 0.156 19.3)

  10. Step 900

    900

    #751D26

    oklch(37.8% 0.121 19.7)

  11. Step 950

    950

    #451317

    oklch(27.1% 0.077 19.3)

Export this scale for Tailwind in the Tailwind colors tool

#CF2540 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)#5B55400.223
Deuteranopia (no green cones)#85793B0.204
Tritanopia (no blue cones)#E400320.041
Achromatopsia (no color)#6C6C6C0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF2540

    #CF2540

    oklch(55.6% 0.202 19.4)

  • #008489

    #008489

    oklch(55.7% 0.095 199.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF2540

    #CF2540

    oklch(55.6% 0.202 19.4)

  • #C22B85

    #C22B85

    oklch(55.7% 0.202 349.5)

  • #B55300

    #B55300

    oklch(55.7% 0.148 49.7)

Open the analogous palette in the generator

Split complementary

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

  • #CF2540

    #CF2540

    oklch(55.6% 0.202 19.4)

  • #008868

    #008868

    oklch(55.7% 0.112 168.9)

  • #007EA7

    #007EA7

    oklch(55.5% 0.111 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF2540

    #CF2540

    oklch(55.6% 0.202 19.4)

  • #2D8A00

    #2D8A00

    oklch(55.6% 0.177 139.4)

  • #186BE6

    #186BE6

    oklch(55.5% 0.202 259.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF2540

    #CF2540

    oklch(55.6% 0.202 19.4)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

  • #008489

    #008489

    oklch(55.7% 0.095 199.5)

  • #7553DF

    #7553DF

    oklch(55.5% 0.203 289.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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