# #5a1218 color: Chocolate Cosmos

#5a1218 is rgb(90, 18, 24) in RGB and oklch(31.168% 0.10333 21.339) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a1218 |
| RGB | rgb(90, 18, 24) |
| HSL | hsl(355, 66.67%, 21.18%) |
| HSB / HSV | hsv(355 80% 35.29%) |
| HWB | hwb(355 7.06% 64.71%) |
| CMYK | cmyk(0% 80% 73% 65%) |
| Lab | lab(19.07 33.04 16.89) |
| LCH | lch(19.07 37.11 27.08) |
| OKLab | oklab(31.168% 0.09624 0.0376) |
| OKLCH | oklch(31.168% 0.10333 21.339) |
| Display P3 | color(display-p3 0.32303 0.09485 0.10304) |
| Rec. 2020 | color(rec2020 0.22541 0.05729 0.04675) |
| Adobe RGB | color(a98-rgb 0.30765 0.09802 0.11747) |
| ProPhoto RGB | color(prophoto-rgb 0.2044 0.09912 0.07889) |
| Linear sRGB | color(srgb-linear 0.10224 0.00605 0.00913) |
| XYZ D65 | color(xyz-d65 0.04598 0.02673 0.01138) |
| XYZ D50 | color(xyz-d50 0.04822 0.02764 0.00853) |
| SwiftUI | Color(red: 0.353, green: 0.071, blue: 0.094) |
| UIKit | UIColor(red: 0.353, green: 0.071, blue: 0.094, alpha: 1) |
| Flutter / Compose | Color(0xFF5A1218) |
| Android XML | #5A1218 |

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

## Tints

#5a1218, #6b2b2c, #7d4141, #8d5756, #9e6e6c, #af8583, #bf9c9b, #cfb4b3, #dfcdcc, #efe6e5

## Shades

#5a1218, #4d0e13, #410a0f, #35070a, #290407, #1e0204, #130102, #090101, #030000, #000000

## Tones

#5a1218, #57171b, #531c1e, #4f1f20, #4b2323, #482625, #432827, #3f2b2a, #3b2d2c, #362f2e

## Harmonies

- Complementary: #5a1218, #003b40
- Split: #5a1218, #003d2b, #003754
- Analogous: #5a1218, #551337, #571b00
- Triadic: #5a1218, #063c00, #102d64
- Tetradic: #5a1218, #462b00, #003b40, #102d64
- Square: #5a1218, #333400, #003b40, #332360
- Monochromatic: #5a1218, #180000, #340001, #7f3536, #a65857

## Questions about #5a1218

### What color is #5a1218?

#5a1218 is deep dark red. The closest named color is Chocolate Cosmos. In RGB it is rgb(90, 18, 24), in HSL hsl(355, 66.67%, 21.18%) and in OKLCH oklch(31.168% 0.10333 21.339).

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

The complementary color of #5a1218 is #003b40. For a calmer combination use the analogous colors #551337 and #571b00. The triadic partners are #063c00 and #102d64.

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

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

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

#5a1218 is a warm color. In OKLCH its hue is 21 degrees, its lightness 31.2% and its chroma 0.103.
