#4C052D

A color in the Purple, Crimson, Magenta family

#4c052d is a color in the Purple, Crimson, Magenta family: RGB(76, 5, 45), HSL(326°, 88%, 16%), CMYK(0%, 93%, 41%, 70%). Closest named color: maroon. Contrast is 15.36:1 on white and 1.37:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4c052d
RGBrgb(76 5 45)
RGB (legacy)rgb(76, 5, 45)
RGB %rgb(30% 2% 18%)
HSLhsl(326 88% 16%)
HSV / HSBhsv(326, 93%, 30%)
HWBhwb(326 2% 70%)
CMYKcmyk(0%, 93%, 41%, 70%)
CIELAB (D50)lab(14.82 34.03 -4.64)
LCHlch(14.82 34.35 352.24)
OKLaboklab(0.278 0.1065 -0.0134)
OKLCHoklch(0.278 0.1074 352.83)
Decimal4982061

Properties

Color TonePurple, Crimson, Magenta
Closest named colormaroon ΔE 13.6
Closest web-safe color#330033
Hue326°
Saturation (HSL / HSV)88% / 93%
Lightness (HSL)16%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)12% / 9%
Relative luminance (WCAG)0.0183
Red / Green / Blue76 / 5 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.36:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.37: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 101.2 / 0 · As background with white / black text: Lc -104.1 / 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: #4c052d;
  --color-brand-oklch: oklch(27.8% 0.1074 352.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 5 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c052d] text-[#4c052d] border-[#4c052d]">