#68170F#68170F

#68170F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.3% C 0.116 H 29.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#68170F
RGBrgb(104, 23, 15)
HSLhsl(5, 75%, 23%)
HSVhsv(5, 86%, 41%)
CMYKcmyk(0%, 77.9%, 85.6%, 59.2%)
CIE-LABlab(22.27, 35.25, 26.62)
CIE-LCHlch(22.27, 44.17, 37.06°)
OKLaboklab(34.35% 0.1003 0.0574)
OKLCHoklch(34.35% 0.116 29.8)
XYZxyz(6.1023, 3.5913, 0.8237)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68170F #0F6068
analogous
#680F33 #68170F #68430F
triadic
#68170F #0F6817 #170F68
tetradic
#68170F #33680F #0F6068 #430F68
square
#68170F #33680F #0F6068 #430F68
split-complementary
#68170F #0F6843 #0F3368
monochromatic
#1B0604 #330B07 #68170F #9D2317 #D32F1E

Accessibility & contrast

On white

12.22
#68170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#68170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68170F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68170F#FFFFFF#000000##FFFFFF
##68170F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0D
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#730016
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #68170f;
/* rgb */ color: rgb(104, 23, 15);
/* oklch */ color: oklch(34.3% 0.116 29.8);
Tailwind
colors: {
  custom: {
    50: '#9b5b4e',
    500: '#68170f',
    950: '#000000',
  },
}
SCSS
$custom: #68170f;
$custom-light: #9b5b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#68170f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 5.393,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.11554,
    "h": 29.8
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#68170F
secondary
#3297A1
accent
#E1F136
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0401
muted
#7F7977

Preview Lab

Preview with #68170F

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

Preview Lab → · Contrast checker → · Palette generator →

#68170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva