thistle color code
The hex code for thistle is #D8BFD8, which is rgb(216, 191, 216) in RGB and cmyk(0%, 12%, 0%, 15%) in CMYK. It's a light, muted pink. It is a built-in CSS colour, so you can also write it as “thistle”.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer thistle; the codes update as you go.
Thistle colour codes
| HEX | #D8BFD8 |
|---|---|
| RGB | rgb(216, 191, 216) |
| HSL | hsl(300, 24%, 80%) |
| HSV / HSB | hsv(300, 12%, 85%) |
| CMYK | cmyk(0%, 12%, 0%, 15%) |
| Decimal | 14204888 |
| CSS keyword | thistle |
About thistle
Thistle sits at a hue of 300° on the colour wheel, with 24% saturation and 80% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.
For text, black reads better on thistle. Thistle as text on a white background has a contrast ratio of 1.69:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 12.36:1, which passes AA for body text.
Tints and shades of thistle
Tints mix thistle with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with thistle
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Thistle text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| thistle on white | 1.69:1 | fail | fail | fail |
| thistle on black | 12.36:1 | pass | pass | pass |
Check thistle against any other colour in the contrast checker.
How thistle looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use thistle in code
.thistle {
color: thistle;
background-color: #d8bfd8;
border-color: rgb(216, 191, 216);
}Frequently asked questions
What is the hex code for thistle?
Thistle is #D8BFD8 (lowercase #d8bfd8). It's the official value of the CSS keyword “thistle”.
What is thistle in RGB, HSL and CMYK?
RGB: rgb(216, 191, 216). HSL: hsl(300, 24%, 80%). CMYK: cmyk(0%, 12%, 0%, 15%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with thistle?
Its complementary colour is #BFD8BF (close to honeydew), which gives the strongest contrast. For a calmer look, use the analogous colours #CCBFD8 and #D8BFCC, or the triadic pair #D8D8BF and #BFD8D8. Tints and shades of thistle itself always work together.
Is thistle a warm or cool colour?
Thistle has a hue of 300°, which makes it neither clearly warm nor cool.
Should I use black or white text on thistle?
Black. Black text on thistle has a contrast ratio of 12.36:1 and white text has 1.69:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
How do I use thistle in CSS?
Write color: thistle; or color: #d8bfd8; — both give the same colour. Named colours work in every browser.