#5C1938

A color in the Red, Pink family

#5c1938 is a color in the Red, Pink family: RGB(92, 25, 56), HSL(332°, 57%, 23%), CMYK(0%, 73%, 39%, 64%). Closest named color: maroon. Contrast is 12.72:1 on white and 1.65:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5c1938
RGBrgb(92 25 56)
RGB (legacy)rgb(92, 25, 56)
RGB %rgb(36% 10% 22%)
HSLhsl(332 57% 23%)
HSV / HSBhsv(332, 73%, 36%)
HWBhwb(332 10% 64%)
CMYKcmyk(0%, 73%, 39%, 64%)
CIELAB (D50)lab(21.27 33.04 -2.48)
LCHlch(21.27 33.14 355.7)
OKLaboklab(0.3328 0.1023 -0.0076)
OKLCHoklch(0.3328 0.1026 355.73)
Decimal6035768

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 9.9
Closest web-safe color#660033
Hue332°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)23%
Brightness or Value (HSV)36%
Luminance (Rec.601 / Rec.709)19% / 16%
Relative luminance (WCAG)0.0326
Red / Green / Blue92 / 25 / 56

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.65: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 98 / 0 · As background with white / black text: Lc -101.5 / 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: #5c1938;
  --color-brand-oklch: oklch(33.28% 0.1026 355.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 25 56 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c1938] text-[#5c1938] border-[#5c1938]">