#C628A7

Closest named color: Purpley Pink (#C83CB9). oklch(57.7% 0.227 337.8), rgb(198, 40, 167).

Aa

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

About this color

#C628A7 is a medium-dark, vivid pink. In OKLCH its lightness is 58%, its chroma 0.227 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.035 away. White text reads best on it, at 4.92:1.

Hue familyPinks
Lightnessmedium-dark (58%)
Chromavivid (0.227)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.26:1
White text4.92:1

Values

HEX#C628A7
RGBrgb(198, 40, 167)
HSLhsl(312, 66%, 47%)
OKLCHoklch(57.7% 0.227 337.8)

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 #C628A7 4.92:1 AA Lc -78.0 Fine for body text
Black text on #C628A7 4.26:1 AA large text Lc 31.5 Non-text elements, placeholder text
#C628A7 text on white 4.92:1 AA Lc 72.6 Content text, not long reading
#C628A7 text on black 4.26:1 AA large text Lc -29.1 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F1

    oklch(93.7% 0.029 337.9)

  3. Step 200

    200

    #F3CBE6

    oklch(88.4% 0.057 338.1)

  4. Step 300

    300

    #ECA7D8

    oklch(80.9% 0.102 337.6)

  5. Step 400

    400

    #E074C4

    oklch(70.7% 0.164 337.9)

  6. Step 500

    500

    #D449B5

    oklch(63.2% 0.209 337.8)

  7. Step 600

    600 (this color)

    #C628A7

    oklch(57.7% 0.227 337.8)

  8. Step 700

    700

    #A40889

    oklch(49.1% 0.211 337.8)

  9. Step 800

    800

    #85116F

    oklch(42.6% 0.174 337.9)

  10. Step 900

    900

    #6B1A5A

    oklch(37.6% 0.135 337.7)

  11. Step 950

    950

    #3F1135

    oklch(26.9% 0.087 337.4)

Export this scale for Tailwind in the Tailwind colors tool

#C628A7 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)#3061AA0.253
Deuteranopia (no green cones)#6879A30.214
Tritanopia (no blue cones)#D133670.109
Achromatopsia (no color)#7070700.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #C628A7

    #C628A7

    oklch(57.7% 0.227 337.8)

  • #009059

    #009059

    oklch(57.5% 0.135 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C628A7

    #C628A7

    oklch(57.7% 0.227 337.8)

  • #9E42DE

    #9E42DE

    oklch(57.6% 0.228 307.6)

  • #DC0B60

    #DC0B60

    oklch(57.6% 0.227 7.7)

Open the analogous palette in the generator

Split complementary

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

  • #C628A7

    #C628A7

    oklch(57.7% 0.227 337.8)

  • #5F8900

    #5F8900

    oklch(57.7% 0.151 128)

  • #008C84

    #008C84

    oklch(57.7% 0.1 187.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C628A7

    #C628A7

    oklch(57.7% 0.227 337.8)

  • #8D7900

    #8D7900

    oklch(57.7% 0.119 97.6)

  • #0087A2

    #0087A2

    oklch(57.6% 0.104 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C628A7

    #C628A7

    oklch(57.7% 0.227 337.8)

  • #AA6800

    #AA6800

    oklch(57.7% 0.127 67.3)

  • #009059

    #009059

    oklch(57.5% 0.135 157.9)

  • #007DCF

    #007DCF

    oklch(57.6% 0.155 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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