HSL(175, 42%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(175,42%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 42%, 52%) | color: hsl(175, 42%, 52%) | |
| HEX | #51B8AF | color: #51B8AF | |
| RGB | rgb(81, 184, 175) | color: rgb(81, 184, 175) | |
| CMYK | cmyk(56%, 0%, 5%, 28%) | — | |
| HSV | hsv(175, 56%, 72%) | — | |
| HWB | hwb(175 32% 28%) | color: hwb(175 32% 28%) | |
| OKLCH | oklch(0.7196 0.0964 187.48) | color: oklch(0.7196 0.0964 187.48) | |
| Lab | lab(68.84 -31.94 -4.46) | color: lab(68.84 -31.94 -4.46) | |
| LCH | lch(68.84 32.25 187.95) | color: lch(68.84 32.25 187.95) |
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)
#7E7FB1 — rgb(126, 127, 177)
Deuteranopia (Green-blind)
#7870B2 — rgb(120, 112, 178)
Tritanopia (Blue-blind)
#56B3B3 — rgb(86, 179, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 42%, 52%);
text
color: hsl(175, 42%, 52%);
border
border: 2px solid hsl(175, 42%, 52%);
gradient light
background: linear-gradient(to right, hsl(175, 42%, 72%), hsl(175, 42%, 52%));
gradient dark
background: linear-gradient(to right, hsl(175, 42%, 52%), hsl(175, 42%, 32%))
hex
background-color: #51B8AF;
tailwind
bg-[hsl(175,42%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 42%, 52%, 0.4);
css variable
--color-primary: hsl(175, 42%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(175, 42%, 52%)?
HEX: #51B8AF | RGB: rgb(81, 184, 175) | CMYK: 56%, 0%, 5%, 28% | HSV: 175°, 56%, 72%. Copy any format from the conversion table above.
What colors go well with #51B8AF?
The complementary color is HSL(355, 42%, 52%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(175, 42%, 52%) in CSS?
As HSL: color: hsl(175, 42%, 52%); — As HEX: color: #51B8AF; — As RGB: color: rgb(81, 184, 175); — Tailwind CSS: bg-[hsl(175,42%,52%)] — CSS variable: --color-primary: hsl(175, 42%, 52%);