#48151A#48151A

#48151A is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.078 H 18.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#48151A
RGBrgb(72, 21, 26)
HSLhsl(354, 55%, 18%)
HSVhsv(354, 71%, 28%)
CMYKcmyk(0%, 70.8%, 63.9%, 71.8%)
CIE-LABlab(15.43, 24.75, 9.73)
CIE-LCHlch(15.43, 26.59, 21.46°)
OKLaboklab(28.05% 0.074 0.024)
OKLCHoklch(28.05% 0.078 18)
XYZxyz(3.1274, 1.9890, 1.1963)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48151A #154843
analogous
#481533 #48151A #482915
triadic
#48151A #1A4815 #151A48
tetradic
#48151A #334815 #154843 #291548
square
#48151A #334815 #154843 #291548
split-complementary
#48151A #154829 #153348
monochromatic
#180709 #190709 #48151A #77232B #A7313C

Accessibility & contrast

On white

15.02
#48151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#48151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48151A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48151A#FFFFFF#000000##FFFFFF
##48151A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#4F0B17
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #48151a;
/* rgb */ color: rgb(72, 21, 26);
/* oklch */ color: oklch(28.1% 0.078 18.0);
Tailwind
colors: {
  custom: {
    50: '#7f5556',
    500: '#48151a',
    950: '#000000',
  },
}
SCSS
$custom: #48151a;
$custom-light: #7f5556;
$custom-dark: #000000;
JSON
{
  "hex": "#48151a",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 354.118,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28054,
    "c": 0.07778,
    "h": 18
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#48151A
secondary
#398079
accent
#DED04A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #48151A

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

Preview Lab → · Contrast checker → · Palette generator →

#48151A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva