#4B170D#4B170D

#4B170D is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.7% C 0.081 H 32.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4B170D
RGBrgb(75, 23, 13)
HSLhsl(10, 70%, 17%)
HSVhsv(10, 83%, 29%)
CMYKcmyk(0%, 69.3%, 82.7%, 70.6%)
CIE-LABlab(16.20, 24.02, 19.05)
CIE-LCHlch(16.20, 30.66, 38.41°)
OKLaboklab(28.67% 0.0684 0.0442)
OKLCHoklch(28.67% 0.081 32.9)
XYZxyz(3.2810, 2.1382, 0.6206)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B170D #0D414B
analogous
#4B0D22 #4B170D #4B360D
triadic
#4B170D #0D4B17 #170D4B
tetradic
#4B170D #224B0D #0D414B #360D4B
square
#4B170D #224B0D #0D414B #360D4B
split-complementary
#4B170D #0D4B36 #0D224B
monochromatic
#1A0805 #1A0805 #4B170D #7F2716 #B3371F

Accessibility & contrast

On white

14.71
#4B170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4B170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B170D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B170D#FFFFFF#000000##FFFFFF
##4B170D1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210C
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#530A15
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b170d;
/* rgb */ color: rgb(75, 23, 13);
/* oklch */ color: oklch(28.7% 0.081 32.9);
Tailwind
colors: {
  custom: {
    50: '#82574c',
    500: '#4b170d',
    950: '#000000',
  },
}
SCSS
$custom: #4b170d;
$custom-light: #82574c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b170d",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 9.677,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.08144,
    "h": 32.9
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#4B170D
secondary
#2E7886
accent
#D0ED3B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4B170D

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

Preview Lab → · Contrast checker → · Palette generator →

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