#CB0958

Closest named color: Ruby (#CA0147). oklch(54.2% 0.214 7.7), rgb(203, 9, 88).

Aa

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

About this color

#CB0958 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.214 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.023 away. White text reads best on it, at 5.64:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.71:1
White text5.64:1

Values

HEX#CB0958
RGBrgb(203, 9, 88)
HSLhsl(336, 92%, 42%)
OKLCHoklch(54.2% 0.214 7.7)

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 #CB0958 5.64:1 AA Lc -81.2 Fine for body text
Black text on #CB0958 3.71:1 AA large text Lc 28.2 Dividers and decoration only
#CB0958 text on white 5.64:1 AA Lc 75.8 Fine for body text
#CB0958 text on black 3.71:1 AA large text Lc -25.9 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD2

    oklch(88.5% 0.054 8.2)

  4. Step 300

    300

    #F7A7B5

    oklch(81% 0.096 7.9)

  5. Step 400

    400

    #EE738F

    oklch(70.7% 0.153 7.5)

  6. Step 500

    500

    #E54673

    oklch(63.2% 0.196 7.9)

  7. Step 600

    600 (this color)

    #CB0958

    oklch(54.2% 0.214 7.7)

  8. Step 700

    700

    #B3004C

    oklch(49.1% 0.197 7.6)

  9. Step 800

    800

    #920B3E

    oklch(42.8% 0.165 7.8)

  10. Step 900

    900

    #751835

    oklch(37.7% 0.128 7.6)

  11. Step 950

    950

    #45101F

    oklch(26.9% 0.082 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#CB0958 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)#4D50590.243
Deuteranopia (no green cones)#7B74540.219
Tritanopia (no blue cones)#DE00340.062
Achromatopsia (no color)#6767670.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB0958

    #CB0958

    oklch(54.2% 0.214 7.7)

  • #008179

    #008179

    oklch(54.3% 0.095 187.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB0958

    #CB0958

    oklch(54.2% 0.214 7.7)

  • #B6249A

    #B6249A

    oklch(54.2% 0.214 337.5)

  • #C03A00

    #C03A00

    oklch(54.2% 0.179 37.6)

Open the analogous palette in the generator

Split complementary

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

  • #CB0958

    #CB0958

    oklch(54.2% 0.214 7.7)

  • #008551

    #008551

    oklch(54.3% 0.128 157.5)

  • #007C94

    #007C94

    oklch(54.1% 0.097 217.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB0958

    #CB0958

    oklch(54.2% 0.214 7.7)

  • #587D00

    #587D00

    oklch(54.1% 0.14 127.4)

  • #0073BE

    #0073BE

    oklch(54.2% 0.145 247.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB0958

    #CB0958

    oklch(54.2% 0.214 7.7)

  • #816F00

    #816F00

    oklch(54.2% 0.112 97.9)

  • #008179

    #008179

    oklch(54.3% 0.095 187.2)

  • #5955E7

    #5955E7

    oklch(54.2% 0.214 277.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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