HSL(178, 70%, 43%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,70%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 70%, 43%) | color: hsl(178, 70%, 43%) | |
| HEX | #21BAB5 | color: #21BAB5 | |
| RGB | rgb(33, 186, 181) | color: rgb(33, 186, 181) | |
| CMYK | cmyk(82%, 0%, 3%, 27%) | — | |
| HSV | hsv(178, 82%, 73%) | — | |
| HWB | hwb(178 13% 27%) | color: hwb(178 13% 27%) | |
| OKLCH | oklch(0.7151 0.1176 191.31) | color: oklch(0.7151 0.1176 191.31) | |
| Lab | lab(68.59 -37.86 -8.25) | color: lab(68.59 -37.86 -8.25) | |
| LCH | lch(68.59 38.75 192.29) | color: lch(68.59 38.75 192.29) |
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)
#6365B6 — rgb(99, 101, 182)
Deuteranopia (Green-blind)
#5A4FB7 — rgb(90, 79, 183)
Tritanopia (Blue-blind)
#29B7B7 — rgb(41, 183, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 70%, 43%);
text
color: hsl(178, 70%, 43%);
border
border: 2px solid hsl(178, 70%, 43%);
gradient light
background: linear-gradient(to right, hsl(178, 70%, 63%), hsl(178, 70%, 43%));
gradient dark
background: linear-gradient(to right, hsl(178, 70%, 43%), hsl(178, 70%, 23%))
hex
background-color: #21BAB5;
tailwind
bg-[hsl(178,70%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 70%, 43%, 0.4);
css variable
--color-primary: hsl(178, 70%, 43%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 70%, 43%)?
HEX: #21BAB5 | RGB: rgb(33, 186, 181) | CMYK: 82%, 0%, 3%, 27% | HSV: 178°, 82%, 73%. Copy any format from the conversion table above.
What colors go well with #21BAB5?
The complementary color is HSL(358, 70%, 43%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(178, 70%, 43%) in CSS?
As HSL: color: hsl(178, 70%, 43%); — As HEX: color: #21BAB5; — As RGB: color: rgb(33, 186, 181); — Tailwind CSS: bg-[hsl(178,70%,43%)] — CSS variable: --color-primary: hsl(178, 70%, 43%);