# #5a1118 color: Chocolate Cosmos

#5a1118 is rgb(90, 17, 24) in RGB and oklch(31.066% 0.10433 20.9) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a1118 |
| RGB | rgb(90, 17, 24) |
| HSL | hsl(354.25, 68.22%, 20.98%) |
| HSB / HSV | hsv(354.25 81.11% 35.29%) |
| HWB | hwb(354.25 6.67% 64.71%) |
| CMYK | cmyk(0% 81% 73% 65%) |
| Lab | lab(18.94 33.4 16.73) |
| LCH | lch(18.94 37.36 26.61) |
| OKLab | oklab(31.066% 0.09747 0.03722) |
| OKLCH | oklch(31.066% 0.10433 20.9) |
| Display P3 | color(display-p3 0.32288 0.09191 0.10284) |
| Rec. 2020 | color(rec2020 0.22508 0.05545 0.04657) |
| Adobe RGB | color(a98-rgb 0.30741 0.09468 0.11736) |
| ProPhoto RGB | color(prophoto-rgb 0.20411 0.09774 0.07867) |
| Linear sRGB | color(srgb-linear 0.10224 0.00561 0.00913) |
| XYZ D65 | color(xyz-d65 0.04582 0.02641 0.01133) |
| XYZ D50 | color(xyz-d50 0.04805 0.02732 0.00849) |
| SwiftUI | Color(red: 0.353, green: 0.067, blue: 0.094) |
| UIKit | UIColor(red: 0.353, green: 0.067, blue: 0.094, alpha: 1) |
| Flutter / Compose | Color(0xFF5A1118) |
| Android XML | #5A1118 |

## 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.74:1
- Contrast with black: 1.53:1

## Tints

#5a1118, #6c2a2c, #7d4041, #8e5756, #9e6d6c, #af8583, #bf9c9b, #cfb4b3, #dfcdcc, #efe6e5

## Shades

#5a1118, #4d0d13, #41090f, #35060a, #290407, #1e0204, #130102, #090001, #030000, #000000

## Tones

#5a1118, #57171b, #531b1d, #4f1f20, #4b2222, #472525, #432827, #3f2a2a, #3a2c2c, #362e2e

## Harmonies

- Complementary: #5a1118, #003b3f
- Split: #5a1118, #003d2b, #003753
- Analogous: #5a1118, #541237, #571a00
- Triadic: #5a1118, #063c00, #0e2d64
- Tetradic: #5a1118, #452a00, #003b3f, #0e2d64
- Square: #5a1118, #333400, #003b3f, #322360
- Monochromatic: #5a1118, #180000, #330002, #7f3436, #a65757

## Questions about #5a1118

### What color is #5a1118?

#5a1118 is deep dark red. The closest named color is Chocolate Cosmos. In RGB it is rgb(90, 17, 24), in HSL hsl(354.25, 68.22%, 20.98%) and in OKLCH oklch(31.066% 0.10433 20.9).

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

The complementary color of #5a1118 is #003b3f. For a calmer combination use the analogous colors #541237 and #571a00. The triadic partners are #063c00 and #0e2d64.

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

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

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

#5a1118 is a warm color. In OKLCH its hue is 21 degrees, its lightness 31.1% and its chroma 0.104.
