#4F1017#4F1017

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

Color values

HEX#4F1017
RGBrgb(79, 16, 23)
HSLhsl(353, 66%, 19%)
HSVhsv(353, 80%, 31%)
CMYKcmyk(0%, 79.7%, 70.9%, 69%)
CIE-LABlab(15.98, 29.53, 12.88)
CIE-LCHlch(15.98, 32.21, 23.56°)
OKLaboklab(28.72% 0.0876 0.0307)
OKLCHoklch(28.72% 0.093 19.3)
XYZxyz(3.5648, 2.0952, 1.0272)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1017 #104F48
analogous
#4F1036 #4F1017 #4F2810
triadic
#4F1017 #174F10 #10174F
tetradic
#4F1017 #364F10 #104F48 #28104F
square
#4F1017 #364F10 #104F48 #28104F
split-complementary
#4F1017 #104F28 #10364F
monochromatic
#190507 #1C0608 #4F1017 #821A26 #B52535

Accessibility & contrast

On white

14.80
#4F1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1017
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1017#FFFFFF#000000##FFFFFF
##4F10171.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F17
Deuteranopia (green-blind)
#312D15
Tritanopia (blue-blind)
#570013
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f1017;
/* rgb */ color: rgb(79, 16, 23);
/* oklch */ color: oklch(28.7% 0.093 19.3);
Tailwind
colors: {
  custom: {
    50: '#865453',
    500: '#4f1017',
    950: '#000000',
  },
}
SCSS
$custom: #4f1017;
$custom-light: #865453;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1017",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 353.333,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28717,
    "c": 0.0928,
    "h": 19.3
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#4F1017
secondary
#32897F
accent
#E9D63F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1017

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

Preview Lab → · Contrast checker → · Palette generator →

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