#C538AB

Closest named color: Purpley Pink (#C83CB9). oklch(58.9% 0.214 336.4), rgb(197, 56, 171).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.214)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.52:1
White text4.63:1

Values

HEX#C538AB
RGBrgb(197, 56, 171)
HSLhsl(311, 56%, 50%)
OKLCHoklch(58.9% 0.214 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 #C538AB 4.63:1 AA Lc -76.5 Fine for body text
Black text on #C538AB 4.52:1 AA Lc 33.0 Non-text elements, placeholder text
#C538AB text on white 4.63:1 AA Lc 71.1 Content text, not long reading
#C538AB text on black 4.52:1 AA Lc -30.6 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 600.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE6

    oklch(88.4% 0.054 336.9)

  4. Step 300

    300

    #E9A9D8

    oklch(80.9% 0.096 336.4)

  5. Step 400

    400

    #DB78C4

    oklch(70.7% 0.154 336.4)

  6. Step 500

    500

    #CE4FB5

    oklch(63% 0.197 336.2)

  7. Step 600

    600 (this color)

    #C538AB

    oklch(58.9% 0.214 336.4)

  8. Step 700

    700

    #A01B89

    oklch(49.2% 0.198 336.7)

  9. Step 800

    800

    #821B70

    oklch(42.8% 0.165 336.4)

  10. Step 900

    900

    #691E5A

    oklch(37.7% 0.129 336.8)

  11. Step 950

    950

    #3E1335

    oklch(27% 0.082 336.7)

Export this scale for Tailwind in the Tailwind colors tool

#C538AB 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)#3B67AE0.232
Deuteranopia (no green cones)#6B7CA80.199
Tritanopia (no blue cones)#CF416D0.105
Achromatopsia (no color)#7575750.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #C538AB

    #C538AB

    oklch(58.9% 0.214 336.4)

  • #009558

    #009558

    oklch(58.9% 0.142 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C538AB

    #C538AB

    oklch(58.9% 0.214 336.4)

  • #9E4EDE

    #9E4EDE

    oklch(59% 0.213 306.5)

  • #DB2868

    #DB2868

    oklch(58.8% 0.213 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #C538AB

    #C538AB

    oklch(58.9% 0.214 336.4)

  • #668C00

    #668C00

    oklch(59% 0.151 126.4)

  • #009087

    #009087

    oklch(58.8% 0.103 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C538AB

    #C538AB

    oklch(58.9% 0.214 336.4)

  • #927C00

    #927C00

    oklch(58.9% 0.121 96.6)

  • #008CA5

    #008CA5

    oklch(59% 0.105 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C538AB

    #C538AB

    oklch(58.9% 0.214 336.4)

  • #B06B00

    #B06B00

    oklch(59% 0.131 66.7)

  • #009558

    #009558

    oklch(58.9% 0.142 156.3)

  • #0082D1

    #0082D1

    oklch(58.9% 0.152 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 #C538AB, closest first.

Similar named colors

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

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