#68171B#68171B

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

Color values

HEX#68171B
RGBrgb(104, 23, 27)
HSLhsl(357, 64%, 25%)
HSVhsv(357, 78%, 41%)
CMYKcmyk(0%, 77.9%, 74%, 59.2%)
CIE-LABlab(22.43, 35.78, 19.28)
CIE-LCHlch(22.43, 40.64, 28.31°)
OKLaboklab(34.51% 0.1047 0.0445)
OKLCHoklch(34.51% 0.114 23)
XYZxyz(6.2138, 3.6359, 1.4113)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68171B #176864
analogous
#681744 #68171B #683C17
triadic
#68171B #1B6817 #171B68
tetradic
#68171B #446817 #176864 #3C1768
square
#68171B #446817 #176864 #3C1768
split-complementary
#68171B #17683C #174468
monochromatic
#190607 #360C0E #68171B #9A2228 #CC2D35

Accessibility & contrast

On white

12.16
#68171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68171B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68171B#FFFFFF#000000##FFFFFF
##68171B1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68171b;
/* rgb */ color: rgb(104, 23, 27);
/* oklch */ color: oklch(34.5% 0.114 23.0);
Tailwind
colors: {
  custom: {
    50: '#9a5b57',
    500: '#68171b',
    950: '#000000',
  },
}
SCSS
$custom: #68171b;
$custom-light: #9a5b57;
$custom-dark: #000000;
JSON
{
  "hex": "#68171b",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.037,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.11382,
    "h": 23
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#68171B
secondary
#3D9E99
accent
#E7DF41
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #68171B

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

Preview Lab → · Contrast checker → · Palette generator →

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