HSL(172, 72%, 29%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,72%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 72%, 29%) | color: hsl(172, 72%, 29%) | |
| HEX | #157F71 | color: #157F71 | |
| RGB | rgb(21, 127, 113) | color: rgb(21, 127, 113) | |
| CMYK | cmyk(83%, 0%, 11%, 50%) | — | |
| HSV | hsv(172, 83%, 50%) | — | |
| HWB | hwb(172 9% 50%) | color: hwb(172 9% 50%) | |
| OKLCH | oklch(0.5373 0.0918 181.14) | color: oklch(0.5373 0.0918 181.14) | |
| Lab | lab(47.66 -31.64 -0.48) | color: lab(47.66 -31.64 -0.48) | |
| LCH | lch(47.66 31.64 180.87) | color: lch(47.66 31.64 180.87) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#434474 — rgb(67, 68, 116)
Deuteranopia (Green-blind)
#3D3575 — rgb(61, 53, 117)
Tritanopia (Blue-blind)
#1A7778 — rgb(26, 119, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 72%, 29%);
text
color: hsl(172, 72%, 29%);
border
border: 2px solid hsl(172, 72%, 29%);
gradient light
background: linear-gradient(to right, hsl(172, 72%, 49%), hsl(172, 72%, 29%));
gradient dark
background: linear-gradient(to right, hsl(172, 72%, 29%), hsl(172, 72%, 9%))
hex
background-color: #157F71;
tailwind
bg-[hsl(172,72%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 72%, 29%, 0.4);
css variable
--color-primary: hsl(172, 72%, 29%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 72%, 29%)?
HEX: #157F71 | RGB: rgb(21, 127, 113) | CMYK: 83%, 0%, 11%, 50% | HSV: 172°, 83%, 50%. Copy any format from the conversion table above.
What colors go well with #157F71?
The complementary color is HSL(352, 72%, 29%). 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, 72%, 29%) in CSS?
As HSL: color: hsl(172, 72%, 29%); — As HEX: color: #157F71; — As RGB: color: rgb(21, 127, 113); — Tailwind CSS: bg-[hsl(172,72%,29%)] — CSS variable: --color-primary: hsl(172, 72%, 29%);