HSL(172, 54%, 48%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,54%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 54%, 48%) | color: hsl(172, 54%, 48%) | |
| HEX | #38BCAB | color: #38BCAB | |
| RGB | rgb(56, 188, 171) | color: rgb(56, 188, 171) | |
| CMYK | cmyk(70%, 0%, 9%, 26%) | — | |
| HSV | hsv(172, 70%, 74%) | — | |
| HWB | hwb(172 22% 26%) | color: hwb(172 22% 26%) | |
| OKLCH | oklch(0.721 0.1144 182.58) | color: oklch(0.721 0.1144 182.58) | |
| Lab | lab(69.29 -39.09 -1.68) | color: lab(69.29 -39.09 -1.68) | |
| LCH | lch(69.29 39.13 182.46) | color: lch(69.29 39.13 182.46) |
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)
#7172AF — rgb(113, 114, 175)
Deuteranopia (Green-blind)
#6A60B0 — rgb(106, 96, 176)
Tritanopia (Blue-blind)
#3FB2B3 — rgb(63, 178, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 54%, 48%);
text
color: hsl(172, 54%, 48%);
border
border: 2px solid hsl(172, 54%, 48%);
gradient light
background: linear-gradient(to right, hsl(172, 54%, 68%), hsl(172, 54%, 48%));
gradient dark
background: linear-gradient(to right, hsl(172, 54%, 48%), hsl(172, 54%, 28%))
hex
background-color: #38BCAB;
tailwind
bg-[hsl(172,54%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 54%, 48%, 0.4);
css variable
--color-primary: hsl(172, 54%, 48%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 54%, 48%)?
HEX: #38BCAB | RGB: rgb(56, 188, 171) | CMYK: 70%, 0%, 9%, 26% | HSV: 172°, 70%, 74%. Copy any format from the conversion table above.
What colors go well with #38BCAB?
The complementary color is HSL(352, 54%, 48%). 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, 54%, 48%) in CSS?
As HSL: color: hsl(172, 54%, 48%); — As HEX: color: #38BCAB; — As RGB: color: rgb(56, 188, 171); — Tailwind CSS: bg-[hsl(172,54%,48%)] — CSS variable: --color-primary: hsl(172, 54%, 48%);