#68172A#68172A

#68172A is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.8% C 0.114 H 12.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#68172A
RGBrgb(104, 23, 42)
HSLhsl(346, 64%, 25%)
HSVhsv(346, 78%, 41%)
CMYKcmyk(0%, 77.9%, 59.6%, 59.2%)
CIE-LABlab(22.74, 36.80, 9.42)
CIE-LCHlch(22.74, 37.99, 14.35°)
OKLaboklab(34.84% 0.1112 0.0236)
OKLCHoklch(34.84% 0.114 12)
XYZxyz(6.4338, 3.7239, 2.5700)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68172A #176855
analogous
#681753 #68172A #682D17
triadic
#68172A #2A6817 #172A68
tetradic
#68172A #536817 #176855 #2D1768
square
#68172A #536817 #176855 #2D1768
split-complementary
#68172A #17682D #175368
monochromatic
#19060A #360C16 #68172A #9A223E #CC2D52

Accessibility & contrast

On white

12.04
#68172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#68172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68172A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68172A#FFFFFF#000000##FFFFFF
##68172A1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2A
Deuteranopia (green-blind)
#413C28
Tritanopia (blue-blind)
#72021F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #68172a;
/* rgb */ color: rgb(104, 23, 42);
/* oklch */ color: oklch(34.8% 0.114 12.0);
Tailwind
colors: {
  custom: {
    50: '#985c63',
    500: '#68172a',
    950: '#000000',
  },
}
SCSS
$custom: #68172a;
$custom-light: #985c63;
$custom-dark: #000000;
JSON
{
  "hex": "#68172a",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 345.926,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.1137,
    "h": 12
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#68172A
secondary
#3D9E87
accent
#E7C041
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0F0405
muted
#7E7979

Preview Lab

Preview with #68172A

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

Preview Lab → · Contrast checker → · Palette generator →

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