#CB173A

Closest named color: Cherry (#CF0234). oklch(54% 0.207 19.5), rgb(203, 23, 58).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.72:1
White text5.64:1

Values

HEX#CB173A
RGBrgb(203, 23, 58)
HSLhsl(348, 80%, 44%)
OKLCHoklch(54% 0.207 19.5)

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 #CB173A 5.64:1 AA Lc -81.4 Fine for body text
Black text on #CB173A 3.72:1 AA large text Lc 28.0 Dividers and decoration only
#CB173A text on white 5.64:1 AA Lc 76.1 Fine for body text
#CB173A text on black 3.72:1 AA large text Lc -25.6 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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FACCCB

    oklch(88.5% 0.052 19.6)

  4. Step 300

    300

    #F7A9A8

    oklch(81% 0.092 20.1)

  5. Step 400

    400

    #EF767A

    oklch(70.7% 0.149 19.6)

  6. Step 500

    500

    #E54B59

    oklch(63.1% 0.19 19.4)

  7. Step 600

    600 (this color)

    #CB173A

    oklch(54% 0.207 19.5)

  8. Step 700

    700

    #B40B31

    oklch(49.1% 0.192 19.3)

  9. Step 800

    800

    #921329

    oklch(42.7% 0.159 19.4)

  10. Step 900

    900

    #751B25

    oklch(37.6% 0.123 19.6)

  11. Step 950

    950

    #451216

    oklch(27% 0.078 19.6)

Export this scale for Tailwind in the Tailwind colors tool

#CB173A 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)#55503A0.230
Deuteranopia (no green cones)#8074340.209
Tritanopia (no blue cones)#DF00280.042
Achromatopsia (no color)#6767670.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB173A

    #CB173A

    oklch(54% 0.207 19.5)

  • #007E83

    #007E83

    oklch(53.9% 0.092 199.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB173A

    #CB173A

    oklch(54% 0.207 19.5)

  • #BE2080

    #BE2080

    oklch(54.1% 0.207 349.7)

  • #AE4F00

    #AE4F00

    oklch(54% 0.144 49.4)

Open the analogous palette in the generator

Split complementary

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

  • #CB173A

    #CB173A

    oklch(54% 0.207 19.5)

  • #008264

    #008264

    oklch(53.9% 0.108 169.4)

  • #0079A0

    #0079A0

    oklch(53.9% 0.107 229.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB173A

    #CB173A

    oklch(54% 0.207 19.5)

  • #2B8500

    #2B8500

    oklch(54.2% 0.172 139.4)

  • #0C65E4

    #0C65E4

    oklch(54% 0.208 259.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB173A

    #CB173A

    oklch(54% 0.207 19.5)

  • #747400

    #747400

    oklch(54.1% 0.118 109.8)

  • #007E83

    #007E83

    oklch(53.9% 0.092 199.7)

  • #724DDC

    #724DDC

    oklch(54.1% 0.207 289.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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