#310708

A color in the Red, Pink family

#310708 is a color in the Red, Pink family: RGB(49, 7, 8), HSL(359°, 75%, 11%), CMYK(0%, 86%, 84%, 81%). Closest named color: maroon. Contrast is 18.03:1 on white and 1.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#310708
RGBrgb(49 7 8)
RGB (legacy)rgb(49, 7, 8)
RGB %rgb(19% 3% 3%)
HSLhsl(359 75% 11%)
HSV / HSBhsv(359, 86%, 19%)
HWBhwb(359 3% 81%)
CMYKcmyk(0%, 86%, 84%, 81%)
CIELAB (D50)lab(7.68 21.5 8.77)
LCHlch(7.68 23.22 22.2)
OKLaboklab(0.2101 0.0621 0.0274)
OKLCHoklch(0.2101 0.0678 23.81)
Decimal3213064

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 18.8
Closest web-safe color#330000
Hue359°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)11%
Brightness or Value (HSV)19%
Luminance (Rec.601 / Rec.709)8% / 6%
Relative luminance (WCAG)0.0082
Red / Green / Blue49 / 7 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.16: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 104.3 / 0 · As background with white / black text: Lc -106.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: #310708;
  --color-brand-oklch: oklch(21.01% 0.0678 23.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(49 7 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#310708] text-[#310708] border-[#310708]">