#CB126B

Closest named color: Dark Hot Pink (#D90166). oklch(55% 0.215 0.6), rgb(203, 18, 107).

Aa

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

About this color

#CB126B is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.215 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.029 away. White text reads best on it, at 5.47:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.83:1
White text5.47:1

Values

HEX#CB126B
RGBrgb(203, 18, 107)
HSLhsl(331, 84%, 43%)
OKLCHoklch(55% 0.215 0.6)

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 #CB126B 5.47:1 AA Lc -80.5 Fine for body text
Black text on #CB126B 3.83:1 AA large text Lc 28.9 Dividers and decoration only
#CB126B text on white 5.47:1 AA Lc 75.2 Fine for body text
#CB126B text on black 3.83:1 AA large text Lc -26.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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE3E9

    oklch(93.7% 0.027 0.7)

  3. Step 200

    200

    #F9CBD7

    oklch(88.5% 0.054 0.8)

  4. Step 300

    300

    #F5A6BD

    oklch(80.8% 0.097 0.5)

  5. Step 400

    400

    #EC739B

    oklch(70.7% 0.154 0.9)

  6. Step 500

    500

    #E24683

    oklch(63.1% 0.198 0.7)

  7. Step 600

    600 (this color)

    #CB126B

    oklch(55% 0.215 0.6)

  8. Step 700

    700

    #B0005B

    oklch(49% 0.199 0.4)

  9. Step 800

    800

    #900B4A

    oklch(42.7% 0.166 0.8)

  10. Step 900

    900

    #74183E

    oklch(37.8% 0.129 0.8)

  11. Step 950

    950

    #441024

    oklch(26.9% 0.082 0.7)

Export this scale for Tailwind in the Tailwind colors tool

#CB126B 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)#49546D0.246
Deuteranopia (no green cones)#7975670.218
Tritanopia (no blue cones)#DD00400.071
Achromatopsia (no color)#6969690.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB126B

    #CB126B

    oklch(55% 0.215 0.6)

  • #008474

    #008474

    oklch(55% 0.099 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB126B

    #CB126B

    oklch(55% 0.215 0.6)

  • #B22CAA

    #B22CAA

    oklch(55% 0.215 330.7)

  • #D21A03

    #D21A03

    oklch(55% 0.215 30.6)

Open the analogous palette in the generator

Split complementary

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

  • #CB126B

    #CB126B

    oklch(55% 0.215 0.6)

  • #00893F

    #00893F

    oklch(55.1% 0.15 150.4)

  • #008091

    #008091

    oklch(55% 0.095 210.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB126B

    #CB126B

    oklch(55% 0.215 0.6)

  • #677C00

    #677C00

    oklch(55% 0.132 120.7)

  • #0079B4

    #0079B4

    oklch(55% 0.127 240.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB126B

    #CB126B

    oklch(55% 0.215 0.6)

  • #8A6E00

    #8A6E00

    oklch(55% 0.112 91.1)

  • #008474

    #008474

    oklch(55% 0.099 180.4)

  • #475DEC

    #475DEC

    oklch(54.9% 0.215 270.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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