#CB507E

Closest named color: Dark Pink (#CB416B). oklch(60.5% 0.162 359.9), rgb(203, 80, 126).

Aa

Black text reads best on this color (4.98:1).

About this color

#CB507E is a medium-dark, vivid red. In OKLCH its lightness is 61%, its chroma 0.162 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.032 away. Black text reads best on it, at 4.98:1.

Hue familyReds
Lightnessmedium-dark (61%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.98:1
White text4.21:1

Values

HEX#CB507E
RGBrgb(203, 80, 126)
HSLhsl(338, 54%, 55%)
OKLCHoklch(60.5% 0.162 359.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 #CB507E 4.21:1 AA large text Lc -73.8 Content text, not long reading
Black text on #CB507E 4.98:1 AA Lc 35.8 Non-text elements, placeholder text
#CB507E text on white 4.21:1 AA large text Lc 68.3 Content text, not long reading
#CB507E text on black 4.98:1 AA Lc -33.3 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F3CED8

    oklch(88.6% 0.043 359.9)

  4. Step 300

    300

    #ECACBE

    oklch(80.9% 0.078 0.5)

  5. Step 400

    400

    #E07D9D

    oklch(70.7% 0.127 0.2)

  6. Step 500

    500 (this color)

    #CB507E

    oklch(60.5% 0.162 359.9)

  7. Step 600

    600

    #BF396F

    oklch(55.6% 0.175 0)

  8. Step 700

    700

    #A42A5D

    oklch(49.1% 0.163 359.9)

  9. Step 800

    800

    #86254C

    oklch(42.8% 0.135 0.1)

  10. Step 900

    900

    #6C243F

    oklch(37.7% 0.106 0.3)

  11. Step 950

    950

    #3F1625

    oklch(26.9% 0.067 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#CB507E 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)#666D7F0.179
Deuteranopia (no green cones)#87847B0.163
Tritanopia (no blue cones)#DB44620.048
Achromatopsia (no color)#7B7B7B0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB507E

    #CB507E

    oklch(60.5% 0.162 359.9)

  • #009784

    #009784

    oklch(60.6% 0.11 179.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB507E

    #CB507E

    oklch(60.5% 0.162 359.9)

  • #B558AF

    #B558AF

    oklch(60.4% 0.162 329.8)

  • #D15443

    #D15443

    oklch(60.6% 0.162 30.2)

Open the analogous palette in the generator

Split complementary

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

  • #CB507E

    #CB507E

    oklch(60.5% 0.162 359.9)

  • #139B49

    #139B49

    oklch(60.5% 0.161 150)

  • #0092A4

    #0092A4

    oklch(60.5% 0.105 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB507E

    #CB507E

    oklch(60.5% 0.162 359.9)

  • #788D00

    #788D00

    oklch(60.5% 0.143 119.7)

  • #008ACB

    #008ACB

    oklch(60.4% 0.138 240)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB507E

    #CB507E

    oklch(60.5% 0.162 359.9)

  • #9F7D00

    #9F7D00

    oklch(60.5% 0.124 89.5)

  • #009784

    #009784

    oklch(60.6% 0.11 179.7)

  • #5D79E2

    #5D79E2

    oklch(60.7% 0.162 269.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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