HSL(166, 80%, 71%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,80%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 80%, 71%) | color: hsl(166, 80%, 71%) | |
| HEX | #7AF0D5 | color: #7AF0D5 | |
| RGB | rgb(122, 240, 213) | color: rgb(122, 240, 213) | |
| CMYK | cmyk(49%, 0%, 11%, 6%) | — | |
| HSV | hsv(166, 49%, 94%) | — | |
| HWB | hwb(166 48% 6%) | color: hwb(166 48% 6%) | |
| OKLCH | oklch(0.8787 0.1147 176.59) | color: oklch(0.8787 0.1147 176.59) | |
| Lab | lab(87.61 -39.79 2.8) | color: lab(87.61 -39.79 2.8) | |
| LCH | lch(87.61 39.89 175.97) | color: lch(87.61 39.89 175.97) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#ADAEDC — rgb(173, 174, 220)
Deuteranopia (Green-blind)
#A69DDD — rgb(166, 157, 221)
Tritanopia (Blue-blind)
#80E1E2 — rgb(128, 225, 226)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 80%, 71%);
text
color: hsl(166, 80%, 71%);
border
border: 2px solid hsl(166, 80%, 71%);
gradient light
background: linear-gradient(to right, hsl(166, 80%, 91%), hsl(166, 80%, 71%));
gradient dark
background: linear-gradient(to right, hsl(166, 80%, 71%), hsl(166, 80%, 51%))
hex
background-color: #7AF0D5;
tailwind
bg-[hsl(166,80%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 80%, 71%, 0.4);
css variable
--color-primary: hsl(166, 80%, 71%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 80%, 71%)?
HEX: #7AF0D5 | RGB: rgb(122, 240, 213) | CMYK: 49%, 0%, 11%, 6% | HSV: 166°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #7AF0D5?
The complementary color is HSL(346, 80%, 71%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 80%, 71%) in CSS?
As HSL: color: hsl(166, 80%, 71%); — As HEX: color: #7AF0D5; — As RGB: color: rgb(122, 240, 213); — Tailwind CSS: bg-[hsl(166,80%,71%)] — CSS variable: --color-primary: hsl(166, 80%, 71%);