#A40407

A color in the Red, Pink family

#a40407 is a color in the Red, Pink family: RGB(164, 4, 7), HSL(359°, 95%, 33%), CMYK(0%, 98%, 96%, 36%). Closest named color: brown. Contrast is 8.08:1 on white and 2.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a40407
RGBrgb(164 4 7)
RGB (legacy)rgb(164, 4, 7)
RGB %rgb(64% 2% 3%)
HSLhsl(359 95% 33%)
HSV / HSBhsv(359, 98%, 64%)
HWBhwb(359 2% 36%)
CMYKcmyk(0%, 98%, 96%, 36%)
CIELAB (D50)lab(34.72 57.64 47.02)
LCHlch(34.72 74.38 39.21)
OKLaboklab(0.453 0.1612 0.0876)
OKLCHoklch(0.453 0.1834 28.53)
Decimal10748935

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 3.8
Closest web-safe color#990000
Hue359°
Saturation (HSL / HSV)95% / 98%
Lightness (HSL)33%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)20% / 15%
Relative luminance (WCAG)0.0799
Red / Green / Blue164 / 4 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.60:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 85.5 / -16.5 · As background with white / black text: Lc -90.4 / 18.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a40407;
  --color-brand-oklch: oklch(45.3% 0.1834 28.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(164 4 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a40407] text-[#a40407] border-[#a40407]">