#C027A6

Closest named color: Purpley Pink (#C83CB9). oklch(56.6% 0.224 336.4), rgb(192, 39, 166).

Aa

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

About this color

#C027A6 is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.224 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.041 away. White text reads best on it, at 5.14:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.08:1
White text5.14:1

Values

HEX#C027A6
RGBrgb(192, 39, 166)
HSLhsl(310, 66%, 45%)
OKLCHoklch(56.6% 0.224 336.4)

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 #C027A6 5.14:1 AA Lc -79.4 Fine for body text
Black text on #C027A6 4.08:1 AA large text Lc 30.1 Non-text elements, placeholder text
#C027A6 text on white 5.14:1 AA Lc 73.9 Content text, not long reading
#C027A6 text on black 4.08:1 AA large text Lc -27.8 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

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE7

    oklch(88.5% 0.055 336.5)

  4. Step 300

    300

    #EBA8D9

    oklch(81% 0.101 336.7)

  5. Step 400

    400

    #DE75C6

    oklch(70.7% 0.163 336.4)

  6. Step 500

    500

    #D14BB7

    oklch(63.1% 0.206 336.3)

  7. Step 600

    600 (this color)

    #C027A6

    oklch(56.6% 0.224 336.4)

  8. Step 700

    700

    #A20F8B

    oklch(49% 0.209 336.5)

  9. Step 800

    800

    #841471

    oklch(42.7% 0.173 336.6)

  10. Step 900

    900

    #6A1B5C

    oklch(37.7% 0.135 336)

  11. Step 950

    950

    #3F1236

    oklch(27.1% 0.086 336.4)

Export this scale for Tailwind in the Tailwind colors tool

#C027A6 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)#2A5FA90.249
Deuteranopia (no green cones)#6375A30.209
Tritanopia (no blue cones)#CA34660.110
Achromatopsia (no color)#6D6D6D0.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #C027A6

    #C027A6

    oklch(56.6% 0.224 336.4)

  • #008D53

    #008D53

    oklch(56.6% 0.137 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C027A6

    #C027A6

    oklch(56.6% 0.224 336.4)

  • #9841DB

    #9841DB

    oklch(56.6% 0.225 306.2)

  • #D70861

    #D70861

    oklch(56.6% 0.224 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #C027A6

    #C027A6

    oklch(56.6% 0.224 336.4)

  • #608400

    #608400

    oklch(56.5% 0.144 126.4)

  • #00897F

    #00897F

    oklch(56.7% 0.099 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C027A6

    #C027A6

    oklch(56.6% 0.224 336.4)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

  • #00849C

    #00849C

    oklch(56.5% 0.101 216.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C027A6

    #C027A6

    oklch(56.6% 0.224 336.4)

  • #A76500

    #A76500

    oklch(56.7% 0.126 66.5)

  • #008D53

    #008D53

    oklch(56.6% 0.137 156.3)

  • #007BC6

    #007BC6

    oklch(56.6% 0.146 246.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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