#68171C#68171C

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

Color values

HEX#68171C
RGBrgb(104, 23, 28)
HSLhsl(356, 64%, 25%)
HSVhsv(356, 78%, 41%)
CMYKcmyk(0%, 77.9%, 73.1%, 59.2%)
CIE-LABlab(22.45, 35.84, 18.63)
CIE-LCHlch(22.45, 40.39, 27.47°)
OKLaboklab(34.53% 0.1052 0.0433)
OKLCHoklch(34.53% 0.114 22.4)
XYZxyz(6.2256, 3.6406, 1.4733)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68171C #176863
analogous
#681745 #68171C #683A17
triadic
#68171C #1C6817 #171C68
tetradic
#68171C #456817 #176863 #3A1768
square
#68171C #456817 #176863 #3A1768
split-complementary
#68171C #17683A #174568
monochromatic
#190607 #360C0F #68171C #9A2229 #CC2D37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68171C#FFFFFF#000000##FFFFFF
##68171C1.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)
#2E2B1B
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#73001A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #68171c;
/* rgb */ color: rgb(104, 23, 28);
/* oklch */ color: oklch(34.5% 0.114 22.4);
Tailwind
colors: {
  custom: {
    50: '#9a5b58',
    500: '#68171c',
    950: '#000000',
  },
}
SCSS
$custom: #68171c;
$custom-light: #9a5b58;
$custom-dark: #000000;
JSON
{
  "hex": "#68171c",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.296,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.11372,
    "h": 22.4
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#68171C
secondary
#3D9E98
accent
#E7DD41
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #68171C

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

Preview Lab → · Contrast checker → · Palette generator →

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