graf1x

DarkViolet and Pink

Contrasting color combination with 4.27:1 contrast ratio

#9400D3
#FFC0CB

Color Values

DarkViolet
HEX #9400D3
RGB 148, 0, 211
HSL 282, 100%, 41%
Pink
HEX #FFC0CB
RGB 255, 192, 203
HSL 350, 100%, 88%

Harmony: Contrasting

These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion.

The hue angle between DarkViolet and Pink is 68 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

4.27:1
DarkViolet background with Pink text
AA large text only

UI Preview

DarkViolet surface

Sample text on a darkviolet background demonstrates readability and visual hierarchy.

Pink surface

Sample text on a pink background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #9400D3;
  --color-b: #FFC0CB;
  --color-a-rgb: 148, 0, 211;
  --color-b-rgb: 255, 192, 203;
}

JSON

{
  "name": "DarkViolet and Pink",
  "colors": [
    {
      "name": "DarkViolet",
      "hex": "#9400D3",
      "rgb": [
        148,
        0,
        211
      ]
    },
    {
      "name": "Pink",
      "hex": "#FFC0CB",
      "rgb": [
        255,
        192,
        203
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 4.27
}

Explore These Colors

Frequently Asked Questions

Do darkviolet and pink go together?

Yes. DarkViolet and Pink form a contrasting color combination. These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion. The pairing has a WCAG contrast ratio of 4.27:1, which passes AA for large text but not for body text.

What is the contrast ratio between darkviolet and pink?

The WCAG 2.1 contrast ratio between DarkViolet (#9400D3) and Pink (#FFC0CB) is 4.27:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use darkviolet and pink in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for darkviolet and pink?

DarkViolet has the hex code #9400D3 and RGB values rgb(148, 0, 211). Pink has the hex code #FFC0CB and RGB values rgb(255, 192, 203). You can copy these directly into CSS or use the design tokens provided on this page.