HSL(172, 57%, 80%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,57%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 57%, 80%) | color: hsl(172, 57%, 80%) | |
| HEX | #AFE9E1 | color: #AFE9E1 | |
| RGB | rgb(175, 233, 225) | color: rgb(175, 233, 225) | |
| CMYK | cmyk(25%, 0%, 3%, 9%) | — | |
| HSV | hsv(172, 25%, 91%) | — | |
| HWB | hwb(172 68% 9%) | color: hwb(172 68% 9%) | |
| OKLCH | oklch(0.8922 0.0599 185.66) | color: oklch(0.8922 0.0599 185.66) | |
| Lab | lab(88.36 -19.97 -2.09) | color: lab(88.36 -19.97 -2.09) | |
| LCH | lch(88.36 20.08 185.97) | color: lch(88.36 20.08 185.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)
#C8C9E3 — rgb(200, 201, 227)
Deuteranopia (Green-blind)
#C5C0E3 — rgb(197, 192, 227)
Tritanopia (Blue-blind)
#B2E4E5 — rgb(178, 228, 229)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 57%, 80%);
text
color: hsl(172, 57%, 80%);
border
border: 2px solid hsl(172, 57%, 80%);
gradient light
background: linear-gradient(to right, hsl(172, 57%, 100%), hsl(172, 57%, 80%));
gradient dark
background: linear-gradient(to right, hsl(172, 57%, 80%), hsl(172, 57%, 60%))
hex
background-color: #AFE9E1;
tailwind
bg-[hsl(172,57%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 57%, 80%, 0.4);
css variable
--color-primary: hsl(172, 57%, 80%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 57%, 80%)?
HEX: #AFE9E1 | RGB: rgb(175, 233, 225) | CMYK: 25%, 0%, 3%, 9% | HSV: 172°, 25%, 91%. Copy any format from the conversion table above.
What colors go well with #AFE9E1?
The complementary color is HSL(352, 57%, 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, 57%, 80%) in CSS?
As HSL: color: hsl(172, 57%, 80%); — As HEX: color: #AFE9E1; — As RGB: color: rgb(175, 233, 225); — Tailwind CSS: bg-[hsl(172,57%,80%)] — CSS variable: --color-primary: hsl(172, 57%, 80%);