# #5a1117 color: Chocolate Cosmos

#5a1117 is rgb(90, 17, 23) in RGB and oklch(31.047% 0.10441 21.662) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5a1117

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a1117 |
| RGB | rgb(90, 17, 23) |
| HSL | hsl(355.07, 68.22%, 20.98%) |
| HSB / HSV | hsv(355.07 81.11% 35.29%) |
| HWB | hwb(355.07 6.67% 64.71%) |
| CMYK | cmyk(0% 81% 74% 65%) |
| Lab | lab(18.92 33.36 17.41) |
| LCH | lch(18.92 37.63 27.56) |
| OKLab | oklab(31.047% 0.09704 0.03854) |
| OKLCH | oklch(31.047% 0.10441 21.662) |
| Display P3 | color(display-p3 0.32288 0.09191 0.09955) |
| Rec. 2020 | color(rec2020 0.22503 0.05542 0.04429) |
| Adobe RGB | color(a98-rgb 0.30741 0.09468 0.11409) |
| ProPhoto RGB | color(prophoto-rgb 0.20396 0.09768 0.07656) |
| Linear sRGB | color(srgb-linear 0.10224 0.00561 0.00857) |
| XYZ D65 | color(xyz-d65 0.04571 0.02637 0.01079) |
| XYZ D50 | color(xyz-d50 0.04797 0.02729 0.00809) |
| SwiftUI | Color(red: 0.353, green: 0.067, blue: 0.09) |
| UIKit | UIColor(red: 0.353, green: 0.067, blue: 0.09, alpha: 1) |
| Flutter / Compose | Color(0xFF5A1117) |
| Android XML | #5A1117 |

## Facts

- Closest name: Chocolate Cosmos
- Hue family: Red, deep dark red
- Closest Tailwind class: pink-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.75:1
- Contrast with black: 1.53:1

## Tints

#5a1117, #6c2a2b, #7d4140, #8e5755, #9e6d6c, #af8583, #bf9c9a, #cfb4b3, #dfcdcc, #efe6e5

## Shades

#5a1117, #4d0d12, #41090e, #35060a, #290406, #1e0204, #130102, #090001, #030000, #000000

## Tones

#5a1117, #56171a, #531b1d, #4f1f1f, #4b2222, #472524, #432827, #3f2a29, #3a2c2c, #362e2e

## Harmonies

- Complementary: #5a1117, #003a40
- Split: #5a1117, #003d2b, #003654
- Analogous: #5a1117, #551236, #561a00
- Triadic: #5a1117, #043c00, #0f2d64
- Tetradic: #5a1117, #452a00, #003a40, #0f2d64
- Square: #5a1117, #333400, #003a40, #332260
- Monochromatic: #5a1117, #180000, #330001, #7f3435, #a65756

## Questions about #5a1117

### What color is #5a1117?

#5a1117 is deep dark red. The closest named color is Chocolate Cosmos. In RGB it is rgb(90, 17, 23), in HSL hsl(355.07, 68.22%, 20.98%) and in OKLCH oklch(31.047% 0.10441 21.662).

### What colors go well with #5a1117?

The complementary color of #5a1117 is #003a40. For a calmer combination use the analogous colors #551236 and #561a00. The triadic partners are #043c00 and #0f2d64.

### Is white or black text more readable on #5a1117?

White text reads better on #5a1117: white gives a contrast ratio of 13.75:1 and black gives 1.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5a1117 a warm or cool color?

#5a1117 is a warm color. In OKLCH its hue is 22 degrees, its lightness 31% and its chroma 0.104.
