#4E2828#4E2828

#4E2828 is a dark, muted red. Relative luminance 0.033; OKLCH L 32.7% C 0.057 H 20.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4E2828
RGBrgb(78, 40, 40)
HSLhsl(0, 32%, 23%)
HSVhsv(0, 49%, 31%)
CMYKcmyk(0%, 48.7%, 48.7%, 69.4%)
CIE-LABlab(21.17, 17.71, 7.89)
CIE-LCHlch(21.17, 19.39, 24.00°)
OKLaboklab(32.72% 0.0533 0.0201)
OKLCHoklch(32.72% 0.057 20.6)
XYZxyz(4.2839, 3.2909, 2.4167)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2828 #284E4E
analogous
#4E283B #4E2828 #4E3B28
triadic
#4E2828 #284E28 #28284E
tetradic
#4E2828 #3B4E28 #284E4E #3B284E
square
#4E2828 #3B4E28 #284E4E #3B284E
split-complementary
#4E2828 #284E3B #283B4E
monochromatic
#140A0A #261313 #4E2828 #763D3D #9F5151

Accessibility & contrast

On white

12.67
#4E2828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2828
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2828#FFFFFF#000000##FFFFFF
##4E28281.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E28
Deuteranopia (green-blind)
#393627
Tritanopia (blue-blind)
#552328
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2828;
/* rgb */ color: rgb(78, 40, 40);
/* oklch */ color: oklch(32.7% 0.057 20.6);
Tailwind
colors: {
  custom: {
    50: '#826261',
    500: '#4e2828',
    950: '#000000',
  },
}
SCSS
$custom: #4e2828;
$custom-light: #826261;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2828",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.05699,
    "h": 20.6
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#4E2828
secondary
#518181
accent
#C8C85F
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0505
muted
#7C7979

Preview Lab

Preview with #4E2828

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva