#C5269F

Closest named color: Medium Violet Red (#C71585). oklch(57% 0.223 340.2), rgb(197, 38, 159).

Aa

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

About this color

#C5269F is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.223 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.040 away. White text reads best on it, at 5.05:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.15:1
White text5.05:1

Values

HEX#C5269F
RGBrgb(197, 38, 159)
HSLhsl(314, 68%, 46%)
OKLCHoklch(57% 0.223 340.2)

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 #C5269F 5.05:1 AA Lc -78.8 Fine for body text
Black text on #C5269F 4.15:1 AA large text Lc 30.7 Non-text elements, placeholder text
#C5269F text on white 5.05:1 AA Lc 73.4 Content text, not long reading
#C5269F text on black 4.15:1 AA large text Lc -28.3 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F4CBE5

    oklch(88.5% 0.057 340)

  4. Step 300

    300

    #EDA7D5

    oklch(80.9% 0.101 340.1)

  5. Step 400

    400

    #E174BF

    oklch(70.7% 0.161 340.4)

  6. Step 500

    500

    #D549AF

    oklch(63.1% 0.206 340.3)

  7. Step 600

    600 (this color)

    #C5269F

    oklch(57% 0.223 340.2)

  8. Step 700

    700

    #A50B84

    oklch(49.1% 0.207 340.1)

  9. Step 800

    800

    #86126B

    oklch(42.6% 0.172 340.2)

  10. Step 900

    900

    #6C1A57

    oklch(37.6% 0.134 340.1)

  11. Step 950

    950

    #401133

    oklch(27% 0.086 340.4)

Export this scale for Tailwind in the Tailwind colors tool

#C5269F 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)#345FA20.250
Deuteranopia (no green cones)#6A779C0.211
Tritanopia (no blue cones)#D12C620.103
Achromatopsia (no color)#6F6F6F0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5269F

    #C5269F

    oklch(57% 0.223 340.2)

  • #008E5D

    #008E5D

    oklch(57.1% 0.129 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5269F

    #C5269F

    oklch(57% 0.223 340.2)

  • #9F40D6

    #9F40D6

    oklch(57% 0.223 310.1)

  • #DA0D58

    #DA0D58

    oklch(57.1% 0.224 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #C5269F

    #C5269F

    oklch(57% 0.223 340.2)

  • #578800

    #578800

    oklch(57% 0.154 130.4)

  • #008984

    #008984

    oklch(56.9% 0.098 190.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5269F

    #C5269F

    oklch(57% 0.223 340.2)

  • #887800

    #887800

    oklch(57% 0.118 100)

  • #0085A2

    #0085A2

    oklch(57.1% 0.104 220.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5269F

    #C5269F

    oklch(57% 0.223 340.2)

  • #A56800

    #A56800

    oklch(57% 0.124 69.8)

  • #008E5D

    #008E5D

    oklch(57.1% 0.129 160.3)

  • #007AD2

    #007AD2

    oklch(57.1% 0.162 250.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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