---
title: "#400212 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #400212 — RGB(64, 2, 18), HSL(345, 94%, 13%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/400212
---
Custom color

# #400212

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

345°

Sat

94%

Light

13%

Shades & tints

CSS variables

CSS

```
/* #400212 */
:root {
  --color--400212: #400212;
  --color--400212-rgb: 64, 2, 18;
  --color--400212-hsl: 345, 94%, 13%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#400212

#024031

Analogous

#400231

#400212

#401202

Triadic

#400212

#124002

#021240

Split complementary

#400212

#024012

#023140

WCAG contrast

Aa

The quick brown fox.

17.00

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.24

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Temptress

#3B000B

Bordeaux

#5C0120

Monarch

#8B0723

Cab Sav

#4D0A18

Castro

#52001F

Burgundy

#900020

Pohutukawa

#8F021C

Black Rose

#67032D

Rosewood

#65000B

Venetian Red

#72010F

Shiraz

#B20931

Carmine

#960018

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
