#68171D#68171D

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

Color values

HEX#68171D
RGBrgb(104, 23, 29)
HSLhsl(356, 64%, 25%)
HSVhsv(356, 78%, 41%)
CMYKcmyk(0%, 77.9%, 72.1%, 59.2%)
CIE-LABlab(22.46, 35.89, 17.98)
CIE-LCHlch(22.46, 40.14, 26.60°)
OKLaboklab(34.55% 0.1056 0.042)
OKLCHoklch(34.55% 0.114 21.7)
XYZxyz(6.2378, 3.6455, 1.5374)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68171D #176862
analogous
#681745 #68171D #683A17
triadic
#68171D #1D6817 #171D68
tetradic
#68171D #456817 #176862 #3A1768
square
#68171D #456817 #176862 #3A1768
split-complementary
#68171D #17683A #174568
monochromatic
#190607 #360C0F #68171D #9A222B #CC2D39

Accessibility & contrast

On white

12.15
#68171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68171D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68171D#FFFFFF#000000##FFFFFF
##68171D1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1D
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#73001A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #68171d;
/* rgb */ color: rgb(104, 23, 29);
/* oklch */ color: oklch(34.5% 0.114 21.7);
Tailwind
colors: {
  custom: {
    50: '#995b58',
    500: '#68171d',
    950: '#000000',
  },
}
SCSS
$custom: #68171d;
$custom-light: #995b58;
$custom-dark: #000000;
JSON
{
  "hex": "#68171d",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 355.556,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.11363,
    "h": 21.7
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#68171D
secondary
#3D9E97
accent
#E7DB41
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #68171D

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

Preview Lab → · Contrast checker → · Palette generator →

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