HSL(347, 98%, 21%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(347,98%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(347, 98%, 21%) | color: hsl(347, 98%, 21%) | |
| HEX | #6A0118 | color: #6A0118 | |
| RGB | rgb(106, 1, 24) | color: rgb(106, 1, 24) | |
| CMYK | cmyk(0%, 99%, 77%, 58%) | — | |
| HSV | hsv(347, 99%, 42%) | — | |
| HWB | hwb(347 0% 58%) | color: hwb(347 0% 58%) | |
| OKLCH | oklch(0.3326 0.1325 19.32) | color: oklch(0.3326 0.1325 19.32) | |
| Lab | lab(20.65 42.45 19.3) | color: lab(20.65 42.45 19.3) | |
| LCH | lch(20.65 46.63 24.45) | color: lch(20.65 46.63 24.45) |
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)
#3D3C12 — rgb(61, 60, 18)
Deuteranopia (Green-blind)
#434B11 — rgb(67, 75, 17)
Tritanopia (Blue-blind)
#650E0D — rgb(101, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(347, 98%, 21%);
text
color: hsl(347, 98%, 21%);
border
border: 2px solid hsl(347, 98%, 21%);
gradient light
background: linear-gradient(to right, hsl(347, 98%, 41%), hsl(347, 98%, 21%));
gradient dark
background: linear-gradient(to right, hsl(347, 98%, 21%), hsl(347, 98%, 1%))
hex
background-color: #6A0118;
tailwind
bg-[hsl(347,98%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(347, 98%, 21%, 0.4);
css variable
--color-primary: hsl(347, 98%, 21%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(347, 98%, 21%)?
HEX: #6A0118 | RGB: rgb(106, 1, 24) | CMYK: 0%, 99%, 77%, 58% | HSV: 347°, 99%, 42%. Copy any format from the conversion table above.
What colors go well with #6A0118?
The complementary color is HSL(167, 98%, 21%). For a triadic harmony, use hues 347°, 107°, and 227°. For analogous combinations, try hues 317° and 17°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(347, 98%, 21%) in CSS?
As HSL: color: hsl(347, 98%, 21%); — As HEX: color: #6A0118; — As RGB: color: rgb(106, 1, 24); — Tailwind CSS: bg-[hsl(347,98%,21%)] — CSS variable: --color-primary: hsl(347, 98%, 21%);