#48171F#48171F

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

Color values

HEX#48171F
RGBrgb(72, 23, 31)
HSLhsl(350, 52%, 19%)
HSVhsv(350, 68%, 28%)
CMYKcmyk(0%, 68.1%, 56.9%, 71.8%)
CIE-LABlab(15.95, 24.17, 6.83)
CIE-LCHlch(15.95, 25.12, 15.78°)
OKLaboklab(28.49% 0.073 0.0173)
OKLCHoklch(28.49% 0.075 13.4)
XYZxyz(3.2265, 2.0898, 1.5295)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48171F #174840
analogous
#481737 #48171F #482717
triadic
#48171F #1F4817 #171F48
tetradic
#48171F #374817 #174840 #271748
square
#48171F #374817 #174840 #271748
split-complementary
#48171F #174827 #173748
monochromatic
#17070A #1A080B #48171F #762633 #A53547

Accessibility & contrast

On white

14.81
#48171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48171F
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48171F#FFFFFF#000000##FFFFFF
##48171F1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48171f;
/* rgb */ color: rgb(72, 23, 31);
/* oklch */ color: oklch(28.5% 0.075 13.4);
Tailwind
colors: {
  custom: {
    50: '#7e575a',
    500: '#48171f',
    950: '#000000',
  },
}
SCSS
$custom: #48171f;
$custom-light: #7e575a;
$custom-dark: #000000;
JSON
{
  "hex": "#48171f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 350.204,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28486,
    "c": 0.07501,
    "h": 13.4
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#48171F
secondary
#3C7F74
accent
#DBC44D
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #48171F

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

Preview Lab → · Contrast checker → · Palette generator →

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