#CB0338

Closest named color: Cherry (#CF0234). oklch(53.4% 0.213 18.9), rgb(203, 3, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.60:1
White text5.81:1

Values

HEX#CB0338
RGBrgb(203, 3, 56)
HSLhsl(344, 97%, 40%)
OKLCHoklch(53.4% 0.213 18.9)

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 #CB0338 5.81:1 AA Lc -81.8 Fine for body text
Black text on #CB0338 3.60:1 AA large text Lc 27.6 Dividers and decoration only
#CB0338 text on white 5.81:1 AA Lc 76.5 Fine for body text
#CB0338 text on black 3.60:1 AA large text Lc -25.3 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

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #F8A8A8

    oklch(80.9% 0.095 19.3)

  5. Step 400

    400

    #F1747A

    oklch(70.7% 0.154 18.9)

  6. Step 500

    500

    #E84759

    oklch(63.2% 0.197 18.7)

  7. Step 600

    600 (this color)

    #CB0338

    oklch(53.4% 0.213 18.9)

  8. Step 700

    700

    #B60031

    oklch(49.2% 0.197 18.8)

  9. Step 800

    800

    #940C29

    oklch(42.7% 0.164 18.7)

  10. Step 900

    900

    #771825

    oklch(37.7% 0.128 18.9)

  11. Step 950

    950

    #461116

    oklch(27% 0.081 19.1)

Export this scale for Tailwind in the Tailwind colors tool

#CB0338 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)#524C380.238
Deuteranopia (no green cones)#7F72310.215
Tritanopia (no blue cones)#E000210.049
Achromatopsia (no color)#6565650.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB0338

    #CB0338

    oklch(53.4% 0.213 18.9)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB0338

    #CB0338

    oklch(53.4% 0.213 18.9)

  • #BD1680

    #BD1680

    oklch(53.4% 0.213 349)

  • #AC4D00

    #AC4D00

    oklch(53.4% 0.143 48.9)

Open the analogous palette in the generator

Split complementary

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

  • #CB0338

    #CB0338

    oklch(53.4% 0.213 18.9)

  • #008062

    #008062

    oklch(53.3% 0.107 169.1)

  • #00789D

    #00789D

    oklch(53.5% 0.105 228.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB0338

    #CB0338

    oklch(53.4% 0.213 18.9)

  • #2E8200

    #2E8200

    oklch(53.4% 0.168 138.8)

  • #0064E1

    #0064E1

    oklch(53.4% 0.206 258.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB0338

    #CB0338

    oklch(53.4% 0.213 18.9)

  • #737100

    #737100

    oklch(53.3% 0.115 108.5)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

  • #6F49DD

    #6F49DD

    oklch(53.4% 0.213 288.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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