#68171F#68171F

#68171F is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.6% C 0.113 H 20.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#68171F
RGBrgb(104, 23, 31)
HSLhsl(354, 64%, 25%)
HSVhsv(354, 78%, 41%)
CMYKcmyk(0%, 77.9%, 70.2%, 59.2%)
CIE-LABlab(22.50, 36.01, 16.67)
CIE-LCHlch(22.50, 39.68, 24.83°)
OKLaboklab(34.59% 0.1064 0.0394)
OKLCHoklch(34.59% 0.113 20.3)
XYZxyz(6.2633, 3.6557, 1.6719)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68171F #176860
analogous
#681748 #68171F #683717
triadic
#68171F #1F6817 #171F68
tetradic
#68171F #486817 #176860 #371768
square
#68171F #486817 #176860 #371768
split-complementary
#68171F #176837 #174868
monochromatic
#190607 #360C10 #68171F #9A222E #CC2D3D

Accessibility & contrast

On white

12.13
#68171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68171F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68171F#FFFFFF#000000##FFFFFF
##68171F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1F
Deuteranopia (green-blind)
#423C1D
Tritanopia (blue-blind)
#73001B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #68171f;
/* rgb */ color: rgb(104, 23, 31);
/* oklch */ color: oklch(34.6% 0.113 20.3);
Tailwind
colors: {
  custom: {
    50: '#995b5a',
    500: '#68171f',
    950: '#000000',
  },
}
SCSS
$custom: #68171f;
$custom-light: #995b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#68171f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 354.074,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.11348,
    "h": 20.3
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#68171F
secondary
#3D9E95
accent
#E7D641
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #68171F

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

Preview Lab → · Contrast checker → · Palette generator →

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