#4B171E#4B171E

#4B171E is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.0% C 0.079 H 15.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4B171E
RGBrgb(75, 23, 30)
HSLhsl(352, 53%, 19%)
HSVhsv(352, 69%, 29%)
CMYKcmyk(0%, 69.3%, 60%, 70.6%)
CIE-LABlab(16.52, 25.27, 8.42)
CIE-LCHlch(16.52, 26.64, 18.43°)
OKLaboklab(29.02% 0.076 0.0211)
OKLCHoklch(29.02% 0.079 15.5)
XYZxyz(3.4427, 2.2028, 1.4719)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B171E #174B44
analogous
#4B1738 #4B171E #4B2A17
triadic
#4B171E #1E4B17 #171E4B
tetradic
#4B171E #384B17 #174B44 #2A174B
square
#4B171E #384B17 #174B44 #2A174B
split-complementary
#4B171E #174B2A #17384B
monochromatic
#170709 #1C090B #4B171E #7A2531 #A93443

Accessibility & contrast

On white

14.58
#4B171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4B171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B171E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B171E#FFFFFF#000000##FFFFFF
##4B171E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#312D1D
Tritanopia (blue-blind)
#520E1A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b171e;
/* rgb */ color: rgb(75, 23, 30);
/* oklch */ color: oklch(29.0% 0.079 15.5);
Tailwind
colors: {
  custom: {
    50: '#815759',
    500: '#4b171e',
    950: '#000000',
  },
}
SCSS
$custom: #4b171e;
$custom-light: #815759;
$custom-dark: #000000;
JSON
{
  "hex": "#4b171e",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 351.923,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29015,
    "c": 0.07884,
    "h": 15.5
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#4B171E
secondary
#3C8279
accent
#DCC94B
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4B171E

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

Preview Lab → · Contrast checker → · Palette generator →

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