#48171E#48171E

#48171E is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.5% C 0.075 H 14.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#48171E
RGBrgb(72, 23, 30)
HSLhsl(351, 52%, 19%)
HSVhsv(351, 68%, 28%)
CMYKcmyk(0%, 68.1%, 58.3%, 71.8%)
CIE-LABlab(15.93, 24.07, 7.52)
CIE-LCHlch(15.93, 25.22, 17.34°)
OKLaboklab(28.46% 0.0725 0.0189)
OKLCHoklch(28.46% 0.075 14.6)
XYZxyz(3.2135, 2.0846, 1.4612)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48171E #174841
analogous
#481736 #48171E #482817
triadic
#48171E #1E4817 #171E48
tetradic
#48171E #364817 #174841 #281748
square
#48171E #364817 #174841 #281748
split-complementary
#48171E #174828 #173648
monochromatic
#17070A #1A080B #48171E #762631 #A53545

Accessibility & contrast

On white

14.82
#48171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#48171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48171E
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48171E#FFFFFF#000000##FFFFFF
##48171E1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211E
Deuteranopia (green-blind)
#2F2B1D
Tritanopia (blue-blind)
#4F0F1A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #48171e;
/* rgb */ color: rgb(72, 23, 30);
/* oklch */ color: oklch(28.5% 0.075 14.6);
Tailwind
colors: {
  custom: {
    50: '#7e5759',
    500: '#48171e',
    950: '#000000',
  },
}
SCSS
$custom: #48171e;
$custom-light: #7e5759;
$custom-dark: #000000;
JSON
{
  "hex": "#48171e",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 351.429,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.07494,
    "h": 14.6
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#48171E
secondary
#3C7F75
accent
#DBC74D
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #48171E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#48171E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva