HSL(172, 74%, 80%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,74%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 74%, 80%) | color: hsl(172, 74%, 80%) | |
| HEX | #A6F2E8 | color: #A6F2E8 | |
| RGB | rgb(166, 242, 232) | color: rgb(166, 242, 232) | |
| CMYK | cmyk(31%, 0%, 4%, 5%) | — | |
| HSV | hsv(172, 31%, 95%) | — | |
| HWB | hwb(172 66% 5%) | color: hwb(172 66% 5%) | |
| OKLCH | oklch(0.9088 0.0762 185.64) | color: oklch(0.9088 0.0762 185.64) | |
| Lab | lab(90.52 -25.42 -2.64) | color: lab(90.52 -25.42 -2.64) | |
| LCH | lch(90.52 25.56 185.93) | color: lch(90.52 25.56 185.93) |
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)
#C7C8EA — rgb(199, 200, 234)
Deuteranopia (Green-blind)
#C3BDEB — rgb(195, 189, 235)
Tritanopia (Blue-blind)
#AAECED — rgb(170, 236, 237)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 74%, 80%);
text
color: hsl(172, 74%, 80%);
border
border: 2px solid hsl(172, 74%, 80%);
gradient light
background: linear-gradient(to right, hsl(172, 74%, 100%), hsl(172, 74%, 80%));
gradient dark
background: linear-gradient(to right, hsl(172, 74%, 80%), hsl(172, 74%, 60%))
hex
background-color: #A6F2E8;
tailwind
bg-[hsl(172,74%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 74%, 80%, 0.4);
css variable
--color-primary: hsl(172, 74%, 80%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 74%, 80%)?
HEX: #A6F2E8 | RGB: rgb(166, 242, 232) | CMYK: 31%, 0%, 4%, 5% | HSV: 172°, 31%, 95%. Copy any format from the conversion table above.
What colors go well with #A6F2E8?
The complementary color is HSL(352, 74%, 80%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 74%, 80%) in CSS?
As HSL: color: hsl(172, 74%, 80%); — As HEX: color: #A6F2E8; — As RGB: color: rgb(166, 242, 232); — Tailwind CSS: bg-[hsl(172,74%,80%)] — CSS variable: --color-primary: hsl(172, 74%, 80%);