# #40172a color: Black-Hearted

#40172a is rgb(64, 23, 42) in RGB and oklch(27.439% 0.06847 353.584) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40172a

## Formats

| Format | Value |
| --- | --- |
| HEX | #40172a |
| RGB | rgb(64, 23, 42) |
| HSL | hsl(332.2, 47.13%, 17.06%) |
| HSB / HSV | hsv(332.2 64.06% 25.1%) |
| HWB | hwb(332.2 9.02% 74.9%) |
| CMYK | cmyk(0% 64% 34% 75%) |
| Lab | lab(14.93 22.12 -2.64) |
| LCH | lch(14.93 22.28 353.19) |
| OKLab | oklab(27.439% 0.06805 -0.00765) |
| OKLCH | oklch(27.439% 0.06847 353.584) |
| Display P3 | color(display-p3 0.23125 0.09976 0.16241) |
| Rec. 2020 | color(rec2020 0.14697 0.05258 0.09937) |
| Adobe RGB | color(a98-rgb 0.22902 0.11483 0.17832) |
| ProPhoto RGB | color(prophoto-rgb 0.15085 0.09026 0.11972) |
| Linear sRGB | color(srgb-linear 0.05127 0.00857 0.02315) |
| XYZ D65 | color(xyz-d65 0.02839 0.0187 0.02402) |
| XYZ D50 | color(xyz-d50 0.02897 0.01895 0.01808) |
| SwiftUI | Color(red: 0.251, green: 0.09, blue: 0.165) |
| UIKit | UIColor(red: 0.251, green: 0.09, blue: 0.165, alpha: 1) |
| Flutter / Compose | Color(0xFF40172A) |
| Android XML | #40172A |

## Facts

- Closest name: Black-Hearted
- Hue family: Pink, soft very dark pink
- Closest Tailwind class: pink-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.28:1
- Contrast with black: 1.37:1

## Tints

#40172a, #522b3c, #65404f, #775663, #8a6c78, #9d838d, #b09ba3, #c3b3b9, #d7ccd0, #ebe5e7

## Shades

#40172a, #361223, #2d0e1c, #240a16, #1b0610, #13040a, #0b0205, #050102, #010001, #000000

## Tones

#40172a, #3e192a, #3c1b29, #3a1d29, #371f29, #352029, #322228, #302328, #2d2528, #2a2628

## Harmonies

- Complementary: #40172a, #003225
- Split: #40172a, #0f300f, #003036
- Analogous: #40172a, #371a3a, #431717
- Triadic: #40172a, #282b00, #002c43
- Tetradic: #40172a, #401c00, #003225, #002c43
- Square: #40172a, #372300, #003225, #152649
- Monochromatic: #40172a, #160007, #1f000e, #623649, #86576a

## Questions about #40172a

### What color is #40172a?

#40172a is soft very dark pink. The closest named color is Black-Hearted. In RGB it is rgb(64, 23, 42), in HSL hsl(332.2, 47.13%, 17.06%) and in OKLCH oklch(27.439% 0.06847 353.584).

### What colors go well with #40172a?

The complementary color of #40172a is #003225. For a calmer combination use the analogous colors #371a3a and #431717. The triadic partners are #282b00 and #002c43.

### Is white or black text more readable on #40172a?

White text reads better on #40172a: white gives a contrast ratio of 15.28:1 and black gives 1.37:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40172a a warm or cool color?

#40172a is a warm color. In OKLCH its hue is 354 degrees, its lightness 27.4% and its chroma 0.068.
