HSL(170, 42%, 74%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,42%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 42%, 74%) | color: hsl(170, 42%, 74%) | |
| HEX | #A1D9CF | color: #A1D9CF | |
| RGB | rgb(161, 217, 207) | color: rgb(161, 217, 207) | |
| CMYK | cmyk(26%, 0%, 5%, 15%) | — | |
| HSV | hsv(169, 26%, 85%) | — | |
| HWB | hwb(169 63% 15%) | color: hwb(169 63% 15%) | |
| OKLCH | oklch(0.8439 0.0592 182.63) | color: oklch(0.8439 0.0592 182.63) | |
| Lab | lab(82.76 -19.99 -0.9) | color: lab(82.76 -19.99 -0.9) | |
| LCH | lch(82.76 20.01 182.58) | color: lch(82.76 20.01 182.58) |
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)
#B9BAD1 — rgb(185, 186, 209)
Deuteranopia (Green-blind)
#B6B2D2 — rgb(182, 178, 210)
Tritanopia (Blue-blind)
#A4D3D4 — rgb(164, 211, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 42%, 74%);
text
color: hsl(170, 42%, 74%);
border
border: 2px solid hsl(170, 42%, 74%);
gradient light
background: linear-gradient(to right, hsl(170, 42%, 94%), hsl(170, 42%, 74%));
gradient dark
background: linear-gradient(to right, hsl(170, 42%, 74%), hsl(170, 42%, 54%))
hex
background-color: #A1D9CF;
tailwind
bg-[hsl(170,42%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 42%, 74%, 0.4);
css variable
--color-primary: hsl(170, 42%, 74%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 42%, 74%)?
HEX: #A1D9CF | RGB: rgb(161, 217, 207) | CMYK: 26%, 0%, 5%, 15% | HSV: 169°, 26%, 85%. Copy any format from the conversion table above.
What colors go well with #A1D9CF?
The complementary color is HSL(350, 42%, 74%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 42%, 74%) in CSS?
As HSL: color: hsl(170, 42%, 74%); — As HEX: color: #A1D9CF; — As RGB: color: rgb(161, 217, 207); — Tailwind CSS: bg-[hsl(170,42%,74%)] — CSS variable: --color-primary: hsl(170, 42%, 74%);