#301C19

A color in the Red, Pink family

#301c19 is a color in the Red, Pink family: RGB(48, 28, 25), HSL(8°, 32%, 14%), CMYK(0%, 42%, 48%, 81%). Closest named color: midnightblue. Contrast is 16.08:1 on white and 1.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#301c19
RGBrgb(48 28 25)
RGB (legacy)rgb(48, 28, 25)
RGB %rgb(19% 11% 10%)
HSLhsl(8 32% 14%)
HSV / HSBhsv(8, 48%, 19%)
HWBhwb(8 10% 81%)
CMYKcmyk(0%, 42%, 48%, 81%)
CIELAB (D50)lab(12.92 9.82 6.37)
LCHlch(12.92 11.7 32.98)
OKLaboklab(0.2518 0.0284 0.0157)
OKLCHoklch(0.2518 0.0325 28.89)
Decimal3152921

Properties

Color ToneRed, Pink
Closest named colormidnightblue ΔE 16.5
Closest web-safe color#333300
Hue8°
Saturation (HSL / HSV)32% / 48%
Lightness (HSL)14%
Brightness or Value (HSV)19%
Luminance (Rec.601 / Rec.709)13% / 13%
Relative luminance (WCAG)0.0153
Red / Green / Blue48 / 28 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.31: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 103 / 0 · As background with white / black text: Lc -105.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: #301c19;
  --color-brand-oklch: oklch(25.18% 0.0325 28.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(48 28 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#301c19] text-[#301c19] border-[#301c19]">