#48171B#48171B

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

Color values

HEX#48171B
RGBrgb(72, 23, 27)
HSLhsl(355, 52%, 19%)
HSVhsv(355, 68%, 28%)
CMYKcmyk(0%, 68.1%, 62.5%, 71.8%)
CIE-LABlab(15.85, 23.78, 9.57)
CIE-LCHlch(15.85, 25.63, 21.92°)
OKLaboklab(28.38% 0.0711 0.0237)
OKLCHoklch(28.38% 0.075 18.4)
XYZxyz(3.1770, 2.0700, 1.2690)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48171B #174844
analogous
#481733 #48171B #482B17
triadic
#48171B #1B4817 #171B48
tetradic
#48171B #334817 #174844 #2B1748
square
#48171B #334817 #174844 #2B1748
split-complementary
#48171B #17482B #173348
monochromatic
#170709 #1A080A #48171B #76262C #A5353E

Accessibility & contrast

On white

14.85
#48171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#48171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48171B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48171B#FFFFFF#000000##FFFFFF
##48171B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#2F2B1A
Tritanopia (blue-blind)
#4F0E19
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #48171b;
/* rgb */ color: rgb(72, 23, 27);
/* oklch */ color: oklch(28.4% 0.075 18.4);
Tailwind
colors: {
  custom: {
    50: '#7f5757',
    500: '#48171b',
    950: '#000000',
  },
}
SCSS
$custom: #48171b;
$custom-light: #7f5757;
$custom-dark: #000000;
JSON
{
  "hex": "#48171b",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 355.102,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.07494,
    "h": 18.4
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#48171B
secondary
#3C7F7A
accent
#DBCF4D
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #48171B

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

Preview Lab → · Contrast checker → · Palette generator →

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