#540310

A color in the Red, Pink family

#540310 is a color in the Red, Pink family: RGB(84, 3, 16), HSL(350°, 93%, 17%), CMYK(0%, 96%, 81%, 67%). Closest named color: maroon. Contrast is 15.03:1 on white and 1.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#540310
RGBrgb(84 3 16)
RGB (legacy)rgb(84, 3, 16)
RGB %rgb(33% 1% 6%)
HSLhsl(350 93% 17%)
HSV / HSBhsv(350, 96%, 33%)
HWBhwb(350 1% 67%)
CMYKcmyk(0%, 96%, 81%, 67%)
CIELAB (D50)lab(15.85 35.45 17.84)
LCHlch(15.85 39.69 26.71)
OKLaboklab(0.2847 0.1033 0.0393)
OKLCHoklch(0.2847 0.1106 20.81)
Decimal5505808

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 10.4
Closest web-safe color#660000
Hue350°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)17%
Brightness or Value (HSV)33%
Luminance (Rec.601 / Rec.709)11% / 8%
Relative luminance (WCAG)0.0199
Red / Green / Blue84 / 3 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.40: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 100.6 / 0 · As background with white / black text: Lc -103.6 / 0

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: #540310;
  --color-brand-oklch: oklch(28.47% 0.1106 20.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(84 3 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#540310] text-[#540310] border-[#540310]">