#4B170F#4B170F

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

Color values

HEX#4B170F
RGBrgb(75, 23, 15)
HSLhsl(8, 67%, 18%)
HSVhsv(8, 80%, 29%)
CMYKcmyk(0%, 69.3%, 80%, 70.6%)
CIE-LABlab(16.22, 24.13, 18.07)
CIE-LCHlch(16.22, 30.15, 36.83°)
OKLaboklab(28.7% 0.0692 0.042)
OKLCHoklch(28.7% 0.081 31.2)
XYZxyz(3.2946, 2.1436, 0.6921)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B170F #0F434B
analogous
#4B0F25 #4B170F #4B350F
triadic
#4B170F #0F4B17 #170F4B
tetradic
#4B170F #254B0F #0F434B #350F4B
square
#4B170F #254B0F #0F434B #350F4B
split-complementary
#4B170F #0F4B35 #0F254B
monochromatic
#1A0805 #1A0805 #4B170F #7E2719 #B13623

Accessibility & contrast

On white

14.70
#4B170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B170F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B170F#FFFFFF#000000##FFFFFF
##4B170F1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b170f;
/* rgb */ color: rgb(75, 23, 15);
/* oklch */ color: oklch(28.7% 0.081 31.2);
Tailwind
colors: {
  custom: {
    50: '#82574e',
    500: '#4b170f',
    950: '#000000',
  },
}
SCSS
$custom: #4b170f;
$custom-light: #82574e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b170f",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 8,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28699,
    "c": 0.08093,
    "h": 31.2
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#4B170F
secondary
#307A85
accent
#D3EA3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4B170F

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

Preview Lab → · Contrast checker → · Palette generator →

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