#48170F#48170F

#48170F is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.077 H 31.6°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#48170F
RGBrgb(72, 23, 15)
HSLhsl(8, 66%, 17%)
HSVhsv(8, 79%, 28%)
CMYKcmyk(0%, 68.1%, 79.2%, 71.8%)
CIE-LABlab(15.62, 22.86, 17.18)
CIE-LCHlch(15.62, 28.60, 36.93°)
OKLaboklab(28.13% 0.0656 0.0403)
OKLCHoklch(28.13% 0.077 31.6)
XYZxyz(3.0654, 2.0254, 0.6814)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48170F #0F4048
analogous
#480F24 #48170F #48340F
triadic
#48170F #0F4817 #170F48
tetradic
#48170F #24480F #0F4048 #340F48
square
#48170F #24480F #0F4048 #340F48
split-complementary
#48170F #0F4834 #0F2448
monochromatic
#190805 #190805 #48170F #7B271A #AD3724

Accessibility & contrast

On white

14.95
#48170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#48170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48170F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48170F#FFFFFF#000000##FFFFFF
##48170F1.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#500C15
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #48170f;
/* rgb */ color: rgb(72, 23, 15);
/* oklch */ color: oklch(28.1% 0.077 31.6);
Tailwind
colors: {
  custom: {
    50: '#80564e',
    500: '#48170f',
    950: '#000000',
  },
}
SCSS
$custom: #48170f;
$custom-light: #80564e;
$custom-dark: #000000;
JSON
{
  "hex": "#48170f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 8.421,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.07702,
    "h": 31.6
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#48170F
secondary
#307782
accent
#D1E83F
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #48170F

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

Preview Lab → · Contrast checker → · Palette generator →

#48170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva