HSL(171, 72%, 57%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,72%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 72%, 57%) | color: hsl(171, 72%, 57%) | |
| HEX | #42E0C9 | color: #42E0C9 | |
| RGB | rgb(66, 224, 201) | color: rgb(66, 224, 201) | |
| CMYK | cmyk(71%, 0%, 10%, 12%) | — | |
| HSV | hsv(171, 71%, 88%) | — | |
| HWB | hwb(171 26% 12%) | color: hwb(171 26% 12%) | |
| OKLCH | oklch(0.8206 0.1326 180.93) | color: oklch(0.8206 0.1326 180.93) | |
| Lab | lab(81.12 -45.67 -0.52) | color: lab(81.12 -45.67 -0.52) | |
| LCH | lch(81.12 45.67 180.65) | color: lch(81.12 45.67 180.65) |
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)
#8688CF — rgb(134, 136, 207)
Deuteranopia (Green-blind)
#7D71D0 — rgb(125, 113, 208)
Tritanopia (Blue-blind)
#4AD3D4 — rgb(74, 211, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 72%, 57%);
text
color: hsl(171, 72%, 57%);
border
border: 2px solid hsl(171, 72%, 57%);
gradient light
background: linear-gradient(to right, hsl(171, 72%, 77%), hsl(171, 72%, 57%));
gradient dark
background: linear-gradient(to right, hsl(171, 72%, 57%), hsl(171, 72%, 37%))
hex
background-color: #42E0C9;
tailwind
bg-[hsl(171,72%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 72%, 57%, 0.4);
css variable
--color-primary: hsl(171, 72%, 57%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 72%, 57%)?
HEX: #42E0C9 | RGB: rgb(66, 224, 201) | CMYK: 71%, 0%, 10%, 12% | HSV: 171°, 71%, 88%. Copy any format from the conversion table above.
What colors go well with #42E0C9?
The complementary color is HSL(351, 72%, 57%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 72%, 57%) in CSS?
As HSL: color: hsl(171, 72%, 57%); — As HEX: color: #42E0C9; — As RGB: color: rgb(66, 224, 201); — Tailwind CSS: bg-[hsl(171,72%,57%)] — CSS variable: --color-primary: hsl(171, 72%, 57%);