#68171A#68171A

#68171A is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.5% C 0.114 H 23.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#68171A
RGBrgb(104, 23, 26)
HSLhsl(358, 64%, 25%)
HSVhsv(358, 78%, 41%)
CMYKcmyk(0%, 77.9%, 75%, 59.2%)
CIE-LABlab(22.41, 35.73, 19.92)
CIE-LCHlch(22.41, 40.91, 29.15°)
OKLaboklab(34.5% 0.1043 0.0458)
OKLCHoklch(34.5% 0.114 23.7)
XYZxyz(6.2025, 3.6314, 1.3514)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68171A #176865
analogous
#681742 #68171A #683D17
triadic
#68171A #1A6817 #171A68
tetradic
#68171A #426817 #176865 #3D1768
square
#68171A #426817 #176865 #3D1768
split-complementary
#68171A #17683D #174268
monochromatic
#190606 #360C0D #68171A #9A2227 #CC2D33

Accessibility & contrast

On white

12.17
#68171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#68171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68171A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68171A#FFFFFF#000000##FFFFFF
##68171A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A19
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#730019
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #68171a;
/* rgb */ color: rgb(104, 23, 26);
/* oklch */ color: oklch(34.5% 0.114 23.7);
Tailwind
colors: {
  custom: {
    50: '#9a5b56',
    500: '#68171a',
    950: '#000000',
  },
}
SCSS
$custom: #68171a;
$custom-light: #9a5b56;
$custom-dark: #000000;
JSON
{
  "hex": "#68171a",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.778,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34497,
    "c": 0.11393,
    "h": 23.7
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#68171A
secondary
#3D9E9B
accent
#E7E141
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #68171A

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

Preview Lab → · Contrast checker → · Palette generator →

#68171A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva