#48151F#48151F

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

Color values

HEX#48151F
RGBrgb(72, 21, 31)
HSLhsl(348, 55%, 18%)
HSVhsv(348, 71%, 28%)
CMYKcmyk(0%, 70.8%, 56.9%, 71.8%)
CIE-LABlab(15.56, 25.23, 6.29)
CIE-LCHlch(15.56, 26.00, 13.99°)
OKLaboklab(28.19% 0.0763 0.016)
OKLCHoklch(28.19% 0.078 11.8)
XYZxyz(3.1882, 2.0134, 1.5168)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48151F #15483E
analogous
#481538 #48151F #482415
triadic
#48151F #1F4815 #151F48
tetradic
#48151F #384815 #15483E #241548
square
#48151F #384815 #15483E #241548
split-complementary
#48151F #154824 #153848
monochromatic
#18070A #19070B #48151F #772333 #A73148

Accessibility & contrast

On white

14.97
#48151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48151F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48151F#FFFFFF#000000##FFFFFF
##48151F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#2E2B1E
Tritanopia (blue-blind)
#4F0D19
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #48151f;
/* rgb */ color: rgb(72, 21, 31);
/* oklch */ color: oklch(28.2% 0.078 11.8);
Tailwind
colors: {
  custom: {
    50: '#7f565a',
    500: '#48151f',
    950: '#000000',
  },
}
SCSS
$custom: #48151f;
$custom-light: #7f565a;
$custom-dark: #000000;
JSON
{
  "hex": "#48151f",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 348.235,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28191,
    "c": 0.078,
    "h": 11.8
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#48151F
secondary
#398072
accent
#DEC14A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #48151F

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

Preview Lab → · Contrast checker → · Palette generator →

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